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 user provisioning, you need to create custom user attributes for LaunchDarkly. Follow these steps:

  1. Sign in to your Google Admin console.

    Sign in using your administrator account (does not end in

  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

  2. From the Admin console Home page, go to Appsand thenSAML apps.
  3. Click Add Add at the bottom right.
  4. Locate and click LaunchDarkly in the application list.
  5. On the Google IDP Information 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 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. In the SSO configuration wizard, click Next.

    The Basic information window shows the Application name and Description seen by users.

  3. Click Next.
  4. On the Service Provider Details page, replace the ACS URL with the ACS URL you copied from LaunchDarkly in Step 2.
  5. Click Next.
  6. On the Attribute Mapping page, set the Select category and Select user field values as follows for the listed attributes:
    Application attribute Select category Select user field
    firstName Basic Information First Name
    lastName Basic Information Last Name
    role LaunchDarkly Attributes Role
    customRole LaunchDarkly Attributes Custom Roles
  7. Click Finish.
Step 4: Enable the LaunchDarkly app
  1. Sign in to your Google Admin console.

    Sign in using your administrator account (does not end in

  2. From the Admin console Home page, go to Appsand thenSAML apps.
  3. Select LaunchDarkly.
  4. At the top right of the gray box, click Edit Service Compose.

  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. To turn on or off a service only for users in an organizational unit:

    1. At the left, select the organizational unit.
    2. Select On or Off.
    3. To keep the service turned on or off even when the service is turned on or off for the parent organizational unit, click Override.
    4. If the organization's status is already Overridden, 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
  1. Open
  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.

Was this helpful?
How can we improve it?