This topic explains how to configure Google Workspace to support single sign-on (SSO) in LaunchDarkly.
The procedures in this topic explain how to configure SSO for Google Workspace. To learn how to configure Google OAuth instead, read Google OAuth.
If a member signs in to LaunchDarkly using Google OAuth, they cannot also sign in to the same account using Google Workspace SSO. Similarly, if you invite a member to join a LaunchDarkly account using Google Workspace SSO, they cannot also sign in using Google OAuth.
To configure SSO for LaunchDarkly using Google Workspace, you must complete the following prerequisite:
Use the table below to configure Google fields for LaunchDarkly:
Before you create the LaunchDarkly app in Google Workspace, you must create LaunchDarkly-specific fields for roles, custom roles, and teams.
To configure these fields:

role, customRole, and teamKey fields:
Set the Multiple values field for customRole and teamKey to “Yes.” Some account members may have more than one custom role or team, which requires multiple values.
Next, you must add LaunchDarkly to your Google Workspace apps.
To add LaunchDarkly:


To find them, click Edit your SAML configuration on the LaunchDarkly Security tab:

firstName and lastName to Google’s “First Name” and “Last Name” basic information fields. Map the LaunchDarkly attributes role, customRole, and teamKey to Google’s “LaunchDarkly Attributes” fields of the same name. These mappings are shown below:
In the screenshot above, the names in the left-hand columns map to those present in LaunchDarkly. You must name them exactly as shown, including exact casing (role, customRole, and teamKey), or configuration will fail.
You’ve successfully connected LaunchDarkly to Google Workspace.
Now that the application is configured, you can assign roles and teams.
To assign roles and teams:

The next time this user logs into LaunchDarkly through Google Workspace, their roles and teams will update. If this is a brand new LaunchDarkly account member, an account will be created automatically with the roles and teams you specified.
SAML ignores empty role, customRole, and teamKey fields. To clear all existing roles or teams, enter an empty string "" into the field.