How to configure SAML Authentication using Metadata?
book
Article ID: CTX220634
calendar_today
Updated On:
Description
To configure SAML Authentication with StoreFront you can use the metadata support option. This article describes the steps to perform the metadata based configuration.
Instructions
Enable the Federated Authentication Service plug-in on a StoreFront store To enable Federated Authentication Service integration on a StoreFront Store, run the following PowerShell cmdlets as an Administrator account on the StoreFront server. If you have more than one store, or if the store has a different name, the path text highlighted below may differ.
Update-STFSamlIdPFromMetadata -AuthenticationService $auth -Url https://<adfs-dns-host-entry>/FederationMetadata/2007-06/FederationMetadata.xml. Note: Be sure to remember to change the $StoreVirtualPath variable with the correct name for your store
The <adfs-dns-host-entry> is the ADFS service name. See the Manual Authentication document to find out how to locate the service name.
Create a Relying Party Trust in ADFS:
From the AD FS Console, select Relying Party Trusts and in the actions pane select Add Relying Party Trust
On the initial page, click Start to begin
Select Import data about the relying party published online or on a local network and type the StoreFront metadata endpoint. See format below:
On the next screen, you can leave the default name and click Next
Select Next at the Configure Multi-factor page
Click Next at he Choose Issuance page
This is an informational page, Click Next to continue
On the Finish screen, make sure that the Open the Edit Claim checkbox is checked and hit Close
Next we need to add a Claims Rule. Make sure to select the Issuance Transform Rules and click on Add Rule
Select Send LDAP Attributes as Claims and hit Next
Enter the following information to configure the rule
Claim rule name: UPN to Name ID
Attribute store: Active Directory
LDAP Attribute: User-Principal-Name
Outgoing Claim Type: Name ID
Fill in the data as shown above, to return the user principal as the SAML Name ID. Other attributes can be added if required, but the UPN to Name ID mapping must be present. Select Finish. Note: If the attribute store does not automatically populate, close the dialog box and select Add Rule again