Setting up own Google Oauth Key and secret key for social authentication
1. Login into Google developer console – https://www.console.developers.google.com
2. Navigate to Credential Section in the left menu
3. Create a project (Note: it's not able to create the project with UNCC email id )
4. Give a descriptive name to the project
5. Go to OAuth Consent Screen --> Fill the "Application name" which will be displayed while users try Sign in using Google – > Save
6. Click Create the credentials --> Select OAuth Client ID
6. Select web application – > Create
7. In Authorized redirect URIs Add - http://localhost:8000/accounts/complete/google-oauth2/
If you want to test in production or test site – replace localhost with the domain name at http://yourdomainname.com/accounts/complete/google-oauth2/
Click Create
8. You will get a pop with Client ID and Client Secret – Save it or You can access through by selecting the project at any time
9. Go to Dashboard, Click ENABLE APIS AND SERVICES, and select Google+ API and Enable
10. Open the Settings.py file and paste the client id and client secret at SOCIAL_AUTH_GOOGLE_OAUTH2_KEY and SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET respectively
11. You're Done
Please review the changes.
https://bitbucket.org/narendravankayala/appstore-narendra/branch/IGBF-1636
Here I have used my personal Google account to create Oauth2 Client ID and Secret Keys. We need to change accordingly in settings.py if we want to use IGBs Google account