Workpath supports single sign-on (SSO) logins through SAML 2.0. A SAML 2.0 identity provider (IDP) can take many forms, one of which is a self-hosted Active Directory Federation Services (ADFS) server. ADFS is a service provided by Microsoft as a standard role for Windows Server that provides a web login using existing Active Directory credentials.
Configuration of Workpath
- Please provide your Workpath Account Manager with the federation metadata of your AD FS installation. The metadata can usually be accessed from a "/FederationMetadata/2007-06/FederationMetadata.xml" endpoint on your AD FS server, e.g. "https://adfs.contoso.com/FederationMetadata/2007-06/FederationMetadata.xml".
- Your Workpath Account Manager will then configure the account on Workpath's side accordingly. Proceed to configure the Relying Party Trust in AD FS.
Add a Relying Party Trust
- Download the SP metadata for Workpath from the URL provided by your Workpath Account Manager. It follows this format: https://api.workpath.com/v1/saml/metadata/account-subdomain (where account-subdomain is your company name e.g. contoso).
- Open Server Manager. Click Tools on the top right, then select AD FS Management from the menu.
- Add a Relying Party Trust by right-clicking Relying Party Trusts and selecting Add Relying Party Trust....
- Click Start on the bottom right of the Welcome Screen.
- Select Import data about the relying party from a file, click Browse... and select the downloaded metadata file (you might have to allow "All Files (*.*)" in the open file dialog) and click Next.
- Use "Workpath" as "Display name" and click Next.
- Select Permit everyone from the Access Control Policy list, then click Next.
- On the Ready to Add Trust screen, click Next.
- On the Finish screen, click on Close.
Create Claim Rules
Once the Relying Party Trust has been created, proceed by configuring the required claims.
- Right-click on Workpath, then select Edit Claim Issuance Policy....
- Click on Add Rule.
- Select Send LDAP Attributes as Claims, click Next.
- Name the rule "Get Attributes", select "Active Directory" as Attribute store and configure following mapping:
LDAP Attribute Outgoing Claim Type E-Mail-Addresses E-Mail Address Given-Name first_name Surname last_name
Click on Finish. - Click on Add Rule... .
- Click the dropdown below Claim rule template and select Transform an Incoming Claim, then click Next >.
- Name the rule "Transform", select E-Mail Address as incoming claim type, Name ID as outgoing claim type and Email as outgoing name ID format. Click Finish.
- Finish Claim Issuance Policy configuration by clicking OK.
Testing Single Sign-On
Once the configuration is completed in AD FS and Workpath, it is time to test the single sign-on.
- Open the login page of your Workpath account (https://{account-subdomain}.workpath.com) and click on the Login Button.
- Enter your Active Directory credentials, if you are not logged in yet.
- Hurray! You are now logged in to Workpath with your Active Directory account.