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
- ThunderID is running. See Get Started.
- You can sign in to the ThunderID Console.
- A Google account with access to Google Cloud Console.
Step 1: Register an OAuth App in Google Cloud Console
-
Go to Google Cloud Console and sign in.
-
Select or create a project.
-
In the navigation menu, go to APIs & Services → Credentials.
-
Click Create Credentials → OAuth client ID.
-
Set Application type to Web application.
-
Under Authorized redirect URIs, add the callback URL for your ThunderID deployment:
https://<your-thunderid-host>/gate/callbackYou can copy this value exactly from the Console in the next step, so it does not need to match character for character here.
-
Click Create. Google displays your Client ID and Client Secret. Copy both values. You need them in the next step.
Step 2: Configure the Google Connection in the Console
- Sign in to the ThunderID Console.
- Navigate to Connections.
- 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.
- Enter your Client ID and Client secret from the previous step.
- Copy the Redirect URI shown on the form and add it to your Google OAuth client if you have not already done so.
- Optionally, set Scopes. This defaults to
openid email profileif left blank. - Click Create connection.
ThunderID automatically uses the Google authorization, token, userinfo, and JWKS endpoints. You do not need to supply them.
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
- Connect an IdP to an Application: Add this Google IdP to an application's authentication flow.
- Manage Identity Providers: Update or delete identity providers.