Active Directory Federation Services (ADFS)
Active Directory Federation Services (ADFS)
Active Directory Federation Services (ADFS)
This topic explains how to configure SSO integration between a self-hosted Active Directory Federation Services (ADFS) server and LaunchDarkly.
ADFS is a service provided by Microsoft as a standard role for Windows Server. It provides a web login using existing Active Directory credentials.
If you need information about ADFS errors during configuration, troubleshoot it by accessing the ADFS logs in the Windows Event Viewer.
To give your organization access to LaunchDarkly through ADFS, you need the following components:
This topic does not tell you how to set up ADFS. To learn how to set up ADFS, read Microsoft’s documentation.
Here is a table explaining LaunchDarkly fields:
For more information on configuring LaunchDarkly’s SSO, read Single sign-on.
To add the Relying Party Trust:



app.launchdarkly.com.After you have successfully completed this procedure, a new LaunchDarkly trust will appear in the ADFS Management tool.
To set up a claim issuance policy:

ADFS is now configured with LaunchDarkly.
For more information on claim rules, read Microsoft’s Create a Rule to Transform an Incoming Claim.
You can map LaunchDarkly custom role attributes to ADFS using a claim issuance policy. To learn more about SSO provisioning for roles, read Roles.
Before you can map custom role attributes, you must get your ADFS groups. To learn how, read Microsoft’s Create a Rule to Send Claims Using a Custom Rule.
Your rule will look something like this:

To send claims using a custom rule:
Log into the ADFS Management tool.
Select LaunchDarkly Trust.
Click Edit Claim Issuance Policy… in the menu. The “Edit Claim Issuance Policy” window appears.
Click Add Rule.
Set Claim rule template to Send Claims using a custom rule.
Click Next.
Enter a human-readable name, such as “Map groups to LD custom roles.”
In the Custom rule window, enter the following:
Here is an image of the custom rule:

You can now assign ADFS members to custom role groups using the “Member of” tab within user properties.
SAML ignores empty fields if used in Roles or customRoles. To clear all existing roles, enter an empty string "" into the field.
After you successfully complete the procedures in this topic, you can log in through ADFS when test-drive mode is enabled. To learn more, read Test-drive mode.
If you are able to successfully log in with test-drive mode enabled, you can enable SSO for the rest of your organization. To learn more, read Single sign-on.