This is a quickstart guide to configure SAML 2.0-based Single Sign-on with a Softadmin® system as Service Provider and AD FS as Identity Provider.
All stakeholders should agree on which information about users that the Identity Provider will share with the Softadmin® system and how end user permissions in the Softadmin® system will be administered.
Firewalls must allow the Softadmin® system to make https requests to the AD FS server.
During configuration the administrators will need to share some system-specific configuration values with each other.
The Softadmin® administrator will share:
The AD administrator will share:
Choose a Service Provider Identity for the Softadmin® system. Use the system's own URL (for example https://softadmin.example.com) unless you have good reasons not to. Set the system setting SingleSignOnSamldentity to this identity. The Softadmin® system can not publish SAML metadata until an identity has been assigned.
Set SingleSignOnLoginProcedure to the name of the stored procedure that will extract user attributes from the SAML Assertion. Read more
The Service Provider Metadata URL is found by appending
/saml/sp to the sytem's URL, for example
https://softadmin.example.com/saml/sp. It is case sensitive. Verify that you can download an XML file from the Service Provider Metadata URL and then share the URL with the AD administrator.
Expand AD FS / Trust relationships and select Relaying party trusts. Click the Add relaying party trust link on the right side.
In the The Add relaying party trust wizard:
At Welcome, click Start.
At Select data source, choose Import data about the relaying party published online and enter the Service Provider Metadata URL in the Federation metadata host field.
At Specify display name, enter the name the end users know the system by.
At Configure multi-factor authentication, choose to do it later.
At Choose issuance authorization rules you probably want to deny all users by default.
At Ready to add trust, review and then click Next.
At Finish, click Close.
In Edit Claim Rules:
In Issuance transform rules.
Click Add rule.
Use Send LDAP attributes as claims, Active Directory as Attribute store.
Use the following outgoing claims (unless another set of claims has been agreed on):
|LDAP Attribute||Outgoing claim type|
|Token-Groups - Unqualified Names||Group|
In Issuance Authorization Rules, assign user permissions as desired.
Determine where the AD FS server serves federation metadata. It is usually at
/FederationMetadata/2007-06/FederationMetadata.xml (for example
https://adfs.example.com/FederationMetadata/2007-06/FederationMetadata.xml). This is the Identity Provider Metadata Url. Give this URL to the Softadmin® administator.
Enter the Identity Provider Metadata URL into the SingleSignOnSamlMetadataUrl system setting.
Change the SingleSignOn system setting to SAML 2.0.