SAML 2.0 Configuration using ADFS SSO
Set Up an ADFS SAML Connection
Create a custom SAML connection to Microsoft's Active Directory Federation Services (ADFS) to get more flexibility when configuring your mappings.
Instruction
To create the custom connection, you will need to:
Configure ADFS.
Create a SAML connection where Auth0 acts as the service provider.
Edit the Relying Party Trust in ADFS.
Enable and test your integration.
The following sections will guide you through this process.
Prerequisite Steps to Carry Out in ADFSÂ 4.0
Navigate to Start >> All Programs >> Administrative Tools, and open ADFS 4.0 Management.
The first step is to add Trust Relationships in ADFS 4.0, to add Hyper Cloud SAML details. Under Trust Relationships, right-click on Relying Party Trusts and select Add Relying Party Trust from the drop down menu. A wizard window will open up as shown in the image below:
Click Start and proceed to the next step, Select Data Source. Here, choose the second option, Import data about the relying party from a file. Click Browse, import the metadata file downloaded earlier from HyperCloud Portal, and click 'Next'.
In this step, set a Display name for the relying party, i.e. HyperCloud and click Next
Choose Access Control Policy: Here, select the first option Permit everyone and proceed.
Skip the Ready to Add Trust step and then click Close.
HyperCloud will now be displayed in the Relying Party Trusts list. Right-click on the same and select 'Properties' from the drop down menu as shown below.
In the dialog box that opens, switch to the Advanced tab and specify SHA 1 as the secure hash algorithm. Apply changes and close the window.
Right-click on HyperCloud again and now select Edit Claim Insurance Policy.
In the dialog box that opens, click Add Rule under Issuance Transform Rules.
Set Transform an Incoming Claim as the claim rule template and click 'Next'.12. Â
Under Configure Claim Rule,
Enter NameID as the claim rule name.
Set Windows account name as the incoming claim type.
Set Name ID as the outgoing claim type.
Select Transient Identifier for outgoing name ID format.
Click Finish.
Click Apply to save changes and close the Edit Claim Rules window.
Providing ADFS 4.0 Details in Hyper Cloud Portal to Enable SSO ServicesÂ
Open Hyper Cloud URL again and navigate to the Administration>Users>Identity Provider for SAML SSO configuration page.
Upload/PasteIdP metadata xml content in SAML Page
The XML file can be downloaded from ADFS  console. In the console's left navigation pane, click on Endpoints and scroll down to the Metadata list. Now, locate the URL Path provided for the Federation Metadata type in this list and open the URL in a new browser tab to download the metadata XML file.
ADFS SSO service is now successfully configured for Hyper Cloud Portal. Click on Active tab to Enable SAML SSO service. Try logging out and logging back to Hyper Cloud Portal  to test the configuration.