Skip to main content

Google Workspace

This page covers the Google side. Saving, testing and activating the connection are in Single Sign-On (OIDC).

Create the OAuth client

  1. In the Google Cloud console, choose or create a project in your Workspace organization.
  2. Under Google Auth Platform (APIs & Services → OAuth consent screen in older consoles), configure the app with the audience (user type) Internal, so that only users in your Workspace organization can sign in.
  3. Under Clients (Credentials), select Create client (Create credentials → OAuth client ID) and choose the application type Web application.
  4. Under Authorized redirect URIs, add the connection’s redirect URI: https://<console host>/oauth/sso/callback. Create.
  5. Copy the Client ID and Client secret.
Google’s ID tokens carry neither amr nor acr, so an MFA policy refuses every Google Workspace sign-in it applies to. Keep the MFA policy at none and enforce 2-Step Verification in the Google Admin console instead.

Issuer

Scopes and claims

The default scopes, openid email profile, are enough. Google sends email, email_verified and name in the ID token, so the default claim mapping works as is. It also sends hd, the user’s Workspace domain. Google does not send groups in ID tokens, so a Google Workspace connection carries no groups.

Example

Then run a test login and activate the connection; see Single Sign-On (OIDC).