...
- Go to the management console of the primary IS.
- Navigate to the Identity Providers section in the Main menu and click Add.
- Enter “Secondary" as the Identity Provider Name for this scenario.
Expand the Federated Authenticators section and then expand the SAML2 Web SSO Configuration section.
- Make the following changes.
- Select the Enable SAML2 Web SSO checkbox.
- Enter “Secondary IDP” as Identity Provider Entity Id.
- Enter “Primary'” as the Service Provider Entity Id.
Enter 'https://localhost:9444/samlsso/' as the SSO URL. This is the SAML2 SSO URL of the secondary IS.
- Select the Enable Logout checkbox.
Click Register. The new identity provider named 'Secondary' is listed under List (go to Main menu and click List under Identity Providers).
Now that the secondary Identity Server is added as an IdP in the primary Identity Server, this primary IS should be added as service provider in the Secondary IS instance.
Go to management console of the Secondary IS instance using the following URL: https://localhost:9444/carbon
Navigate to the Main menu and click Add under Service Providers. Enter service provider name as 'PrimaryIDP' for this sample scenario.
Click Register.
In the form that appears, expand the Inbound Authentication Configuration and SAML2 Web SSO Configuration sections.
Click Configure.
Enter the following in the form that appears.
Enter “Primary” as the Issuer, this is the same value as Service Provider Entity Id in step 5c.
Enter value https://localhost:9443/commonauth as Assertion Consumer URL.
Enable the following checkboxes.
Use fully qualified username in the NameID
Enable Response Signing
Enable Assertion Signing
Enable Single Logout
- Click Update and then click Register. The primary Identity Server instance is added as the service provider in the secondary Identity Server instance.
Setting up an application as the SP in the primary IS
The client application in this scenario is the travelocity sample application that can be checked out from WSO2 repo using the following command.
Code Block |
---|
svn co http://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/is/5.0.0/modules/samples/sso/ |
The client application must be set up as a service provider in the primary Identity Server instance and this can be done by following the instruction here.