***Google Authentication Setup***
Step 1 Google Login:- Go to below Link
Go to Google cloud platform developers Site https://console.cloud.google.com/
Step 2 :- Click on Create App.
image
Step 3 :- Add app name then click on CREATE.
image
Step 4 :- Open Sidebar.Click on API and services then click on OAuth consent screen.
image
Step 5 :- Click on Select a Project.
image
Step 6 :- Select your Project.
image
Step 7 :- Click on External as user type.
image
Step 8 :- Add App name,User support email,Develepors contact informantion email and then click on SAVE AND CONTINUE.
image
Step 9 :-Click on SAVE AND CONTINUE.
image
Step 10 :-Click on SAVE AND CONTINUE.
image
Step 11 :-Click on BACK TO DASHBOARD.
image
Step 12 :-Click on Credentials then Click on CREATE CREDENTIALS n Select OAuth client ID.
image
Step 13 :-Select Web Application as Application Type.
image
Step 14 :-Add project name in name field and ADD URL one by one
image
Step 15 :-Add your Site URL in Authorised Javascript Urls and Autherised Redirect URLs.
image
Step 16 :-Finally,Client ID and Secret Key Generated.
image
***Facebook Authentication Setup***
*Create Facebook API Credentials
Step 1 Facebook Login:- Go to Below Link
Go to Facebook developers Site https://developers.facebook.com/apps
Step 2 :-Select your App Type. here we selected Consumer for demo.
image
Step 3 :-Select your App Type. here we selected Consumer for demo.
image
Step 4 :-Add App Display name and App Contact Email then click on Create App.
image
Step 5 :-Click on Your app option and select Create test App.
image
Step 6 :-Add Your Test App Name and click on Confirm Button.
image
Step 7 :-Go To Settings and click on Basic then Click on Add platform
image
Step 8 :-Select platform according to your requirement
image
Step 9 :-Add your site URL in Website Site URL then click on save changes.
image
Step 10 :-Finally,App ID and App Secret Key Generated.
image

***Social Authentication Configuration***

Follow the below step to setup your Social Authentication Configuration :-

Go to Django Admin Site yoursite/admin
Step 1 :- Enter username and password then click on Log in
image
Step 2 :- Go to sites and then click on ADD SITE
image
Step 3 :- Enter your Domain name and Display name then click on save button
image
Step 4 :- Go to Social applications and then click on ADD SOCIAL APPLICATIONS
image
Step 5 Google API:- Add Required details and click on save button
image
Step 5 Facebook API:- Add Required details and click on save button
image
© Upzet.
Crafted with by Themesdesign