Google Instructions

How to get a Client ID and Client Secret from Google OAuth, and what to fill in for the Authorized redirect URIs.

Create Google OAuth 2.0 Credentials

  1. Click Create credentials > OAuth client ID.

  2. If you're asked to Configure Consent Screen, make sure you choose External User Type, and enter your app's information.

  3. Select the Web application application type.

  4. Name your OAuth 2.0 client.

  5. Add your website URL as Authorized JavaScript origins.

  6. Add https://www.cotter.app/api/v0/oauth/token/callback/GOOGLE as the Authorized redirect URIs.

  7. Click Create.

  8. Copy your Client ID and Client Secret to your Dashboard > Social Login > Google, then add the Scopes that you need.

8. Go to the OAuth consent screen section in Google's console, make sure the User type is External to allow any user with a Google account, then verify the OAuth Consent Screen at Google's console.

That's it!

Go back to the Social Login instructions to finish your setup.

Last updated