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. From the Admin console Home page, go to Users.
  3. At the top of Users list, click Moreand thenManage custom attributes.
  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. From the Admin console Home page, go to 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 Next.
  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. 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. From the Admin console Home page, go to Appsand thenWeb and mobile apps.
  3. Select LaunchDarkly.
  4. Click User access.
  5. To turn on or off a service 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. Select On or Off.
    3. Click Override to keep your setting if the service for the parent organizational unit is changed.
    4. If Overridden is already set for the organizational unit, choose an option:
      • Inherit—Reverts to the same setting as its parent.
      • Save—Saves your new setting (even if the parent setting changes).

    Learn more about organizational structure.

  7. (Optional) Turn on the service for a group of users.
    Use access groups to turn on a service for specific users within or across your organizational units. Learn more

  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. From the Admin console Home page, go to 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?

Need more help?

Sign in for additional support options to quickly solve your issue