LaunchDarkly cloud application

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 begin

Before setting up SSO, you need to create custom user attributes for LaunchDarkly. Follow these steps:

  1. Sign in to your Google Admin console.

    Sign in using an account with super administrator privileges (does not end in @gmail.com).

  2. In the Admin console, go to Menu and then Directoryand thenUsers.
  3. At the top of Users list, click Moreand thenManage custom attributes.
    Requires the Schema Management privilege.
  4. At the top right, click Add Custom Attribute.
  5. 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
  6. Click Add.
  7. Configure a second custom attribute with identical values to the first, but with a Name field of "Custom Roles".
  8. Click Add.

    The new attributes are listed on the Manage user attributes page.

Step 1: Get Google identity provider (IdP) information
  1. Sign in to your Google Admin console.

    Sign in using an account with super administrator privileges (does not end in @gmail.com).

  2. In the Admin console, go to Menu and then Appsand thenWeb and mobile apps.
  3. Click Add appand thenSearch for apps.
  4. Enter LaunchDarkly in the search field.
  5. In the search results, hover over the LaunchDarkly SAML app and click Select.
  6. On the Google Identity Provider details page:
    1. Copy and save the SSO URL.
    2. 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.

Step 2: Set up LaunchDarkly as a SAML 2.0 service provider (SP)
  1. Open a new incognito browser window.
  2. Sign in to  https://app.launchlarkly.com with your LaunchDarkly administrator account.
  3. Navigate to Account settings and then Security.
  4. Click Edit SAML Configuration.
  5. 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.
  6. 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.
  7. Click Save.
Step 3: Finish SSO configuration in Admin console
  1. Return to the Admin console browser tab.
  2. On the Google Identity Provider details page, click Continue.
  3. On the Service provider details page, replace the ACS URL with the ACS URL you copied from LaunchDarkly in Step 2 above.
  4. Click Continue.
  5. 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
  6. (Optional) To enter group names that are relevant for this app:
    1. For Group membership (optional), click Search for a group, enter one or more letters of the group name, and select the group name.
    2. Add additional groups as needed (maximum of 75 groups).
    3. 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.

  7. Click Finish.
Step 4: Enable the LaunchDarkly app
  1. Sign in to your Google Admin console.

    Sign in using an account with super administrator privileges (does not end in @gmail.com).

  2. In the Admin console, go to Menu and then Appsand thenWeb and mobile apps.
  3. Select LaunchDarkly.
  4. Click User access.
  5. To turn a service on or off for everyone in your organization, click On for everyone or Off for everyone, and then click Save.

  6. (Optional) To turn a service on or off for an organizational unit:
    1. At the left, select the organizational unit.
    2. To change the Service status, select On or Off.
    3. 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.
  7. 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.
  8. Ensure that your LaunchDarkly user account email IDs match those in your Google domain.
Step 5: Verify that the SSO is working

LaunchDarkly supports both Identity Provider (IdP) initiated and Service Provider (SP) initiated SSO. Follow these steps to verify SSO in either mode:

IdP-initiated

  1. Sign in to your Google Admin console.

    Sign in using an account with super administrator privileges (does not end in @gmail.com).

  2. In the Admin console, go to Menu and then Appsand thenWeb and mobile apps.
  3. Select LaunchDarkly.
  4. 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

  1. Open https://app.launchdarkly.com.
  2. Enter your email address and click Next. You should be automatically redirected to the Google sign-in page.
  3. 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.

Was this helpful?

How can we improve it?
true
Search
Clear search
Close search
Google apps
Main menu