Sign in
Google sign-in is not available until it is configured in the database.
For a developer machine:
- Open Django Admin (create a superuser with
python manage.py createsuperuserif you have not yet). - Under Social applications, add an application with provider Google, paste your Google OAuth Client id and Secret key, and save.
- In that same form, add the Sites entry that matches your project’s
SITE_IDinsettings.py(often site #1 “example.com” or the site you use in production). The app must be linked to the same site Django uses for this host.