Skip to content

django


Google OAuth provider

  1. Create a project in Google Cloud Platform with an appropriate name
  2. Go to credentials in APIs & Services Pasted image 20231218090952.png
  3. Create new credentials for an OAuth Client Pasted image 20231218091119.png
  4. Add the domain name to the javascript origins and the redirect link. (Note: see here for issues with HTTPS in production) Pasted image 20231218091220.png
  5. Add a secret and copy that somewhere safe
  6. Edit the OAuth Consent screen with only non-sensitive scopes (otherwise you will have to go through a verification process) Pasted image 20231218091641.png

See also