This section describes how to enable social logins for your instance.
Go to https://developers.facebook.com/ Create an app, specify your website domain Grab App ID and App Secret Fill FACEBOOK_APP_ID in settings.py Fill FACEBOOK_API_SECRET in settings.py
FACEBOOK_APP_ID
settings.py
FACEBOOK_API_SECRET
Go to https://code.google.com/apis/console#access to request a new API key Create an OAuth app Specify your website URL in AUTHORIZED JAVASCRIPT ORIGINS in Google’s developer site Specify URL/complete/google-oauth2/ in AUTHORIZED REDIRECT URI in Google’s developer site Grab Client ID and Client Secret Fill GOOGLE_OAUTH2_CLIENT_ID in settings.py Fill GOOGLE_OAUTH2_CLIENT_SECRET in settings.py
AUTHORIZED JAVASCRIPT ORIGINS
URL/complete/google-oauth2/
AUTHORIZED REDIRECT URI
GOOGLE_OAUTH2_CLIENT_ID
GOOGLE_OAUTH2_CLIENT_SECRET
Go to https://github.com/settings/applications Create an app, specify your website domain Grab Client ID and Client Secret Fill GITHUB_APP_ID in settings.py Fill GITHUB_API_SECRET in settings.py
GITHUB_APP_ID
GITHUB_API_SECRET
After any change to settings.py you will have to restart your application server:
supervisorctl restart uwsgi
Social Logins¶
This section describes how to enable social logins for your instance.
Facebook¶
Google+¶
Github¶
Reload configuration¶
After any change to
settings.py
you will have to restart your application server: