Skip to main content
This guide walks you through configuring Google as a social login provider for your application.

Prerequisites

Configure Google OAuth

1

Create OAuth credentials on Google Cloud

  1. Go to the Google Cloud Console
  2. Select your project (or create a new one)
  3. Navigate to APIs & Services > Credentials
  4. Click Create Credentials > OAuth client ID
  5. Select Web application as the application type
  6. Give it a name (e.g. “Prelude Auth”)
  7. Copy the Client ID and Client Secret — you will need them in the next step
2

Set the authorized redirect URI

Still on the same OAuth client page in the Google Cloud Console:
  1. Under Authorized redirect URIs, click Add URI
  2. Enter the following URI:
Replace ${YOUR_CUSTOM_DOMAIN} with your custom domain (e.g. session.yourapp.com).
  1. Click Save
The redirect URI must match exactly. Make sure there is no trailing slash and that you are using https.
3

Create the Google OAuth configuration

Update the configuration

To update an existing Google OAuth configuration:

Delete the configuration

To remove Google OAuth from your application:

What’s next?

Now that Google OAuth is configured on your backend, integrate the frontend using the Web Integration guide.