This is for testing PR 2110 of Strapi.
Running docker-compose up
will create two services, Strapi with the code in the PR strapi/strapi#2110 and MongoDB
This assumes that you have docker and docker-compose installed in your machine and your machine has a POSIX-compatible shell. After cloning this repository,
- Run
docker-compose build
. This can takes more than 10 mins. - Make your machine accessible from public domain, using anything like
localtunnel
orngrok
. - Run
PROXY_HOST=<YOUR_DOMAIN> docker-compose up
. The domain shouldn't havehttp
norhttps
in front and something likerandomstring.localtunnel.me
. - Setup discord OAuth app from discord website.
- Configure discord OAuth settings in Strapi in
https://<YOUR_DOMAIN>/plugins/users-permissions/providers
. - Hit `https://<YOUR_DOMAIN>/connect/discord to see if it asks permission. Alternatively, you can run the React Login example app to test.
The description above is about discord, but it should work with any providers.