Before setting up GitHub you'll need to install ngrok because GitHub doesn't allow URLS from localhost
.
After installing ngrok
open a new terminal window and run
ngrok http 3000
You need to have the react-login-app running for this
- Copy the URL displayed next to
Forwarding
(it should look like this :http://adbf7884.ngrok.io
), go to Github, create a new app and fill the informations like the following:
Go to the Admin and enable GitHub, enter your credentials.
Go to the URL provided by ngrok and test your login