Skip to main content

Add a Google Identity Provider

Cloud has the newest features. Some may not be in a release yet; the newest release is Identity & Access Management 7.3.0.

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

Prerequisites​

  • Choreo Identity & Access Management is running. See Get Started.
  • You can sign in to the Choreo Identity & Access Management Console.
  • A Google account with access to Google Cloud Console.

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 & Services → Credentials.

  4. Click Create Credentials → OAuth client ID.

  5. Set Application type to Web application.

  6. Under Authorized redirect URIs, add the callback URL for your Choreo Identity & Access Management 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.

Step 2: Configure the Google Connection in the Console​

These steps create a Google connection. To change an existing connection, see Manage Identity Providers.

  1. Sign in to the Choreo Identity & Access Management Console.
  2. Switch to the organization view and go to Connections.
  3. Click the Google Login card marked Not configured.
  4. The form shows a setup hint with the Redirect URI. Copy it and add it to your Google OAuth client's authorized redirect URIs if you have not already done so.
  5. Enter your Client ID and Client secret from the previous step.
  6. Click Create connection.

The connection's General tab then shows an Organization unit card with the handle and ID of the owner. See Organization Unit Ownership.

Choreo Identity & Access Management automatically uses the Google authorization, token, userinfo, and JWKS endpoints. You do not need to supply them.

note

The connection requests the openid email profile scopes by default. To change this, open the connection after creation and set Scopes on its edit page.

The Google connection also accepts a prompt field to control the Google consent screen behavior (for example, consent or select_account). Set it on the connection's edit page.

To map Google's profile fields to local user attributes, open the connection and select the Attribute configuration tab. See Attribute Configuration.

Deploy your changes

Saving a change does not make it live. You author in the control plane, and your users sign in on a separate data plane, so a change takes effect in an environment only after you deploy it. Go to Deploy, deploy the latest version to your first environment, then promote it to the next environment when you are ready.

Auto-sync deploys saved changes to your first environment within seconds. Turning it on is your choice, per project. See Deploy a Version, or learn why you deploy and how auto-sync works.

Next Steps​

Was this page helpful?