Zum Inhalt springen

Google Workspace federation guide

Diese Seite ist noch nicht in deiner Sprache verfügbar. Englische Seite aufrufen

Set up OpenID Connect (OIDC) federation with Google Workspace. The STACKIT IdP acts as the Relying Party (RP), and your Google Workspace environment acts as the Identity Provider (IdP).

In order to configure this federation with Google we need the following steps to be completed from your side.

  1. Create Google Application: You need to create the application on Google in order to obtain the required credentials to set up the federation
    https://developers.google.com/identity/openid-connect/openid-connect
    When creating the client, the redirect URL’s is
    https://accounts.stackit.cloud/ui/login/login/externalidp/callback
  2. Token claims: The application will need to configure the token in “Token configuration” with the following claims:
    • email
    • family_name
    • given_name
    • preferred_username

Open a support ticket with the following information:

General information

  • Federation type: OpenID Connect (OIDC)
  • Reason for integration: Brief explanation (for example, “Enable SSO using Google Workspace”)
  • Email domains: All primary and secondary email domains your employees use via Google Workspace (for example, @example.org and @foobar.com)

OIDC-specific information

Required fieldDescriptionYour input
IssuerIssuer identifier for Google’s OIDC servicehttps://accounts.google.com/
Client IDID assigned to STACKIT service in your Google Cloud Project in Step 0Application (client) ID from credentials
Client secretSecret key generated for the Client IDProvide securely
ScopesRequired permissions (at least openid required)openid email profile
Display name (optional)Internal name for this federation (use snake_case)google_workspace_acme_corp

Define claims mapping

You can indicate mapping field users from google workspace to our idp. That said, if the standard Google Workspace OIDC claims show below are used that is not required:

STACKIT IdP fieldGoogle Workspace claimNotes
Unique user IDsubStandard unique identifier from Google
Email addressemailUser’s primary email address
Preferred namenameUser’s full name
First namegiven_nameUser’s first name
Last namefamily_nameUser’s last name

Confirm the federation works and report back to us so or any problem faced.

If you have an existing federation using a different protocol and switch to OIDC via Google Workspace, the transition is seamless. As long as email addresses remain the same, users won’t lose access or data. User accounts are tied to email addresses, not federation methods.