Github
Last updated
Last updated
Now open https://github.com/settings/applications/new to get configure the OAuth app in GitHub. You will get a client ID and secret key.
Fill up the details and for
Homepage URL: http://localhost:8000/
Authorization callback URL: http://localhost:8000/accounts/github/login/callback/
Then click on Register application
Now log out yourself because you logged in as a superuser and open and you can see GitHub login option.
If you have then you can directly use this code in your template.