You must be signed in as a super administrator for this task.
Using Security Assertion Markup Language (SAML), your users can use their Google Cloud credentials to sign in to enterprise-cloud applications.
Set up SSO via SAML for LaunchDarkly
Here's how to set up single sign-on (SSO) via SAML for the LaunchDarkly application.
Before you beginBefore setting up SSO, you need to create custom user attributes for LaunchDarkly. Follow these steps:
-
Sign in to your Google Admin console.
Sign in using an account with super administrator privileges (does not end in @gmail.com).
- In the Admin console, go to Menu DirectoryUsers.
- At the top of Users list, click MoreManage custom attributes.
- At the top right, click Add Custom Attribute.
- Configure the first custom attribute as follows:
- Category: LaunchDarkly
- Description: LaunchDarkly Custom Attributes
For Custom fields, enter the following:
- Name: Role
- Info type: Text
- Visibility: Visible to organization
- No. of values: Single Value
- Click Add.
- Configure a second custom attribute with identical values to the first, but with a Name field of "Custom Roles".
- Click Add.
The new attributes are listed on the Manage user attributes page.
-
Sign in to your Google Admin console.
Sign in using an account with super administrator privileges (does not end in @gmail.com).
-
In the Admin console, go to Menu AppsWeb and mobile apps.
-
Click Add appSearch for apps.
- Enter LaunchDarkly in the search field.
- In the search results, hover over the LaunchDarkly SAML app and click Select.
- On the Google Identity Provider details page:
- Copy and save the SSO URL.
- Download the IDP certificate.
Leave the Admin console open, you'll continue with the configuration wizard after performing the next step in the LaunchDarkly application.
- Open a new incognito browser window.
- Sign in to https://app.launchlarkly.com with your LaunchDarkly administrator account.
- Navigate to Account settings Security.
- Click Edit SAML Configuration.
- Copy and save the Assertion consumer service URL. You'll need this value to finish SSO setup in the Admin console in Step 3 below.
- In SAML identity provider details, enter the the IdP information you copied in Step 1 into the following fields:
- Sign-on URL: SSO URL
- X.509 certificate: Paste the contents of the IdP certificate.
- Click Save.
- Return to the Admin console browser tab.
- On the Google Identity Provider details page, click Continue.
- On the Service provider details page, replace the ACS URL with the ACS URL you copied from LaunchDarkly in Step 2 above.
- Click Continue.
- On the Attribute Mapping page, click the Select field menu and map the following Google directory attributes to their corresponding LaunchDarkly attributes:
Google directory attribute LaunchDarkly attribute Basic Information > First Name firstName Basic Information > Last Name lastName LaunchDarkly Attributes > Role role LaunchDarkly Attributes > Custom Roles customRole -
(Optional) To enter group names that are relevant for this app:
- For Group membership (optional), click Search for a group, enter one or more letters of the group name, and select the group name.
- Add additional groups as needed (maximum of 75 groups).
- For App attribute, enter the groups attribute name of the corresponding service provider.
Regardless of how many group names you enter, the SAML response includes only groups that a user is a member of (directly or indirectly). For more information, go to About group membership mapping.
- Click Finish.
-
Sign in to your Google Admin console.
Sign in using an account with super administrator privileges (does not end in @gmail.com).
-
In the Admin console, go to Menu AppsWeb and mobile apps.
- Select LaunchDarkly.
-
Click User access.
-
To turn a service on or off for everyone in your organization, click On for everyone or Off for everyone, and then click Save.
-
(Optional) To turn a service on or off for an organizational unit:
- At the left, select the organizational unit.
- To change the Service status, select On or Off.
- Choose one:
- If the Service status is set to Inherited and you want to keep the updated setting, even if the parent setting changes, click Override.
- If the Service status is set to Overridden, either click Inherit to revert to the same setting as its parent, or click Save to keep the new setting, even if the parent setting changes.
Note: Learn more about organizational structure.
-
To turn on a service for a set of users across or within organizational units, select an access group. For details, go to Use groups to customize service access.
- Ensure that your LaunchDarkly user account email IDs match those in your Google domain.
LaunchDarkly supports both Identity Provider (IdP) initiated and Service Provider (SP) initiated SSO. Follow these steps to verify SSO in either mode:
IdP-initiated
-
Sign in to your Google Admin console.
Sign in using an account with super administrator privileges (does not end in @gmail.com).
-
In the Admin console, go to Menu AppsWeb and mobile apps.
- Select LaunchDarkly.
- At the top left, click Test SAML login.
LaunchDarkly should open in a separate tab. If it doesn’t, use the information in the resulting SAML error messages to update your IdP and SP settings as needed, then retest SAML login.
SP-initiated
- Open https://app.launchdarkly.com.
- Enter your email address and click Next. You should be automatically redirected to the Google sign-in page.
- Enter your username and password.
After your sign in credentials are authenticated, you're automatically redirected back to LaunchDarkly.
Google, Google Workspace, and related marks and logos are trademarks of Google LLC. All other company and product names are trademarks of the companies with which they are associated.