GitHub
To allow users to sign up and log in using their GitHub accounts, set ALLOW_GITHUB_LOGIN
to True
. Additionally, you will need to configure your GitHub application by registering it with GitHub:
Visit GitHub Applications while logged into your GitHub account.
Fill in the required details. Make sure the Authorization callback URL is set to
https://YOUR_DOMAIN_HERE.COM/swd/accounts/github/login/callback/
.Once your application is created, GitHub will provide you with a Client ID and Client Secret.
Update the
GITHUB_CLIENT_ID
andGITHUB_CLIENT_SECRET
in yourCONFIG/authentication.py
config file with these values.
Last updated