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

    2.
    Click Create credentials > OAuth client ID.
    3.
    If you're asked to Configure Consent Screen, make sure you choose External User Type, and enter your app's information.
    4.
    Select the Web application application type.
    5.
    Name your OAuth 2.0 client.
    6.
    Add your website URL as Authorized JavaScript origins.
    7.
    Add https://www.cotter.app/api/v0/oauth/token/callback/GOOGLE as the Authorized redirect URIs.
    8.
    Click Create.
    9.
    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 modified 6mo ago