- Expand the SAML2 Web SSO Configuration and click Configure.
- Fill in the form that appears.
- Click Register.
The following points should be taken into consideration when filling the above New Service Provider form.
|Issuer||Specify the Issuer. This is the ||travelocity.com|
|Assertion Consumer URLs||Specify the Assertion Consumer URLs. This is the URL to which the browser should be redirected to after the authentication is successful. This is the Assertion Consumer Service (ACS) URL of the service provider. The identity provider redirects the SAML2 response to this ACS URL. However, if the SAML2 request is signed and SAML2 request contains the ACS URL, the Identity Server will honor the ACS URL of the SAML2 request. It should have this format: https://(host-name):(port)/acs. You can add multiple assertion consumer URLs for the service provider by entering the URL and clicking the Add button.||http://localhost:8080/travelocity.com/home.jsp|
|Default Assertion Consumer URL|
Since there can be multiple assertion consumer URLs, you must define a Default Assertion Consumer URL in case you are unable to retrieve it from the authentication request.
Tip: In a service provider initiated single sign-on setup, the following needs to be considered.
In an identity provider initiated single sign-on setup, the following needs to be considered.
Specify the NameID format. This defines the name identifier formats supported by the identity provider. The service provider and identity provider usually communicate with each other regarding a specific subject. That subject should be identified through a Name-Identifier (NameID) , which should be in some format so that It is easy for the other party to identify it based on the format. Name identifiers are used to provide information regarding a user.
About NameID formats
For SSO interactions, you can use the following types of NameID formats.
This specifies the name identifier format that the Identity Server wants to receive in the subject of an assertion from a particular identity provider. The following is the default format used by the identity provider.
Select the Certificate Alias from the dropdown. This is used to validate the signature of SAML2 requests and is used to generate encryption. Basically the service provider’s certificate must be selected here. Note that this can also be the Identity Server tenant's public certificate in a scenario where you are doing a tenant specific configuration.
|Response Signing Algorithm|
Specifies the ‘SignatureMethod’ algorithm to be used in the ‘Signature’ element in POST binding. The default value can be configured in the
|Response Digest Algorithm|
Specifies the ‘DigestMethod’ algorithm to be used in the ‘Signature’ element in POST binding. The default value can be configured in the
|Enable Response Signing||Select Enable Response Signing to sign the SAML2 Responses returned after the authentication process.||Selected|
|Enable Signature Validation in Authentication Requests and Logout Requests||Select Enable Signature Validation in Authentication Requests and Logout Requests if you need this functionality configured. This specifies whether the identity provider must validate the signature of the SAML2 authentication request and the SAML2 logout request that are sent by the service provider.||Selected|
|Enable Assertion Encryption||Enable Assertion Encryption, if you wish to encrypt the assertion.||Selected|
|Enable Single Logout||Select Enable Single Logout so that all sessions are terminated once the user signs out from one server. If single logout is enabled, the identity provider sends logout requests to all service providers. Basically, the identity provider acts according to the single logout profile. If the service provider supports a different URL for logout, you can enter a SLO Response URL and SLO Request URL for logging out. These URLs indicate where the request and response should go to. If you do not specify this URL, the identity provider uses the Assertion Consumer Service (ACS) URL.||Selected|
|Enable Attribute Profile||Select Enable Attribute Profile to enable this and add a claim by entering the claim link and clicking the Add Claim button. The Identity Server provides support for a basic attribute profile where the identity provider can include the user’s attributes in the SAML Assertions as part of the attribute statement. Once you select the checkbox to Include Attributes in the Response Always, the identity provider always includes the attribute values related to the selected claims in the SAML attribute statement.||Selected|
|Enable Audience Restriction||Select Enable Audience Restriction to restrict the audience. You may add audience members using the Audience text box and clicking the Add button.||Selected|
|Enable Recipient Validation||Select this if you require validation from the recipient of the response.||Selected|
|Enable IdP Initiated SSO||Select the Enable IdP Initiated SSO checkbox to enable this functionality. When this is enabled, the service provider is not required to send the SAML2 request.||Selected|
|Enable IdP Initiated SLO||Select the Enable IdP Initiated SLO checkbox to enable this functionality. You must specify the URL.||Selected|
- Click here to expand for more information on signature algorithms.
The following table provides the list of signature algorithms available and their respective URI.
Signature algorithm name Signature algorithm URI DSA with SHA1 ECDSA with SHA1 ECDSA with SHA256 ECDSA with SHA384 ECDSA with SHA512 RSA with MD5 RSA with RIPEMD160 RSA with SHA1 RSA with SHA256 RSA with SHA384 RSA with SHA512
- Click here to expand for more information on digest algorithms.
The following table provides the list of digest algorithms available and their respective URI.
Digest algorithm name Digest algorithm URI MD5 RIPEMD160 SHA1 SHA256 SHA384 SHA512
If you need to sign the SAML response using an authenticated user's tenant keystore, please add the following configuration. (By default, the response is signed using the certificate that belongs to the tenant where the service provider is registered). This property must be added if the SAML authenticator version in the WSO2 Carbon products that you are using is 4.2.2 or higher (
<UseAuthenticatedUserDomainCrypto>property available in the
<IS_HOME>/repository/conf/identity.xmlfile as shown below.