Skip to main content

Add a Google Identity Provider

This guide walks you through registering a Google identity provider (IdP) in ThunderID. Once configured, you can add Sign in with Google to any application by including a Google social login executor in its authentication flow.

Prerequisites

1

Step 1: Register an OAuth App in Google Cloud Console

  1. Go to Google Cloud Console and sign in.

  2. Select or create a project.

  3. In the navigation menu, go to APIs & ServicesCredentials.

  4. Click Create CredentialsOAuth client ID.

  5. Set Application type to Web application.

  6. Under Authorized redirect URIs, add the callback URL for your ThunderID deployment:

    https://<your-thunderid-host>/gate/callback

    You can copy this value exactly from the Console in the next step, so it does not need to match character for character here.

  7. Click Create. Google displays your Client ID and Client Secret. Copy both values. You need them in the next step.

2

Step 2: Configure the Google Connection in the Console

  1. Sign in to the ThunderID Console.
  2. Navigate to Connections.
  3. Click the Google card. If the card shows Not configured, this opens a form to create the connection. If it already shows Configured, this opens the existing connection instead.
  4. Enter your Client ID and Client secret from the previous step.
  5. Copy the Redirect URI shown on the form and add it to your Google OAuth client if you have not already done so.
  6. Optionally, set Scopes. This defaults to openid email profile if left blank.
  7. Click Create connection.

ThunderID automatically uses the Google authorization, token, userinfo, and JWKS endpoints. You do not need to supply them.

note

The Google connection also accepts a prompt field to control the Google consent screen behavior (for example, consent or select_account). This field is not available in the Console and can only be set through the Connections API.

Next Steps

Explore with AI

ThunderID LogoThunderID Logo

Product

DocsAPIsSDKs
© Copyright Linux Foundation Europe.For web site terms of use, trademark policy and other project policies please see https://linuxfoundation.eu/en/policies.