-
Notifications
You must be signed in to change notification settings - Fork 5
OAuth provider configuration
trumae edited this page Apr 18, 2017
·
1 revision
- Use the link (https://console.developers.google.com) to create a new project
- Under “Credentials” create a new Client ID. You will want a
Web application
Client ID. Provide your domain name or test domain name in “Authorized JavaScript origins”. Get theclient_ID
andClient secret
. - The app credentials are configured for your Django installation via the admin interface. Create a new socialapp through /admin/socialaccount/socialapp/. Fill in the form as follows:
- Provider, “Google”
- Name, your pick, suggest “Google”
- Client id, is called “Client ID” by Google
- Secret key, is called “Client secret” by Google
- Key, is not needed, leave blank.
- Fill callback Authorized redirect URIs
- Open https://developers.facebook.com/
- Use the
add product
to addlogin facebook
- Get AppId and Secret Key
- Fill the Authorized redirect URIs
- he app credentials are configured for your Django installation via the admin interface. Create a new socialapp through /admin/socialaccount/socialapp/. Fill in the form as follows:
- Provider,
Facebook
- Name, your pick, suggest “Facebook”.
- Provider,