Issue
- How can the signed response, which is required by ADFS to complete authentication at the Liferay end, be clarified?
- Liferay DXP 7.0
- Liferay DXP 7.1
- Liferay DXP 7.2
- Liferay DXP 7.3
Resolution
-
Requests from ADFS to Liferay must be signed.
- Run the command below in the Power shell window, replace the 'ADFS' part to Relying part that has been created (using the following command, the response is now signed).
Set-AdfsRelyingPartyTrust -TargetName "ADFS" -SamlResponseSignature MessageAndAssertion
- The following should appear in the output after running the command:
SamlResponseSignature : MessageAndAssertion
- Create a user on Liferay (SP) with the same name that has been created in ADFS (IdP)
- Access to https://liferay-server-url, the user will be redirected to ADFS and can log in with SSO. If the user wants to automatically sync up user data in Liferay with ADFS, use general Liferay’s LDAP integration.
- To confirm if users are properly created, enable 'com.liferay.saml.resolver.DefaultUserResolver' log in Administrator console of Liferay.
Additional Information
- Attribute mappings for IdP connections are as follows:
http\://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress=emailAddress
http\://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname=firstName
http\://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname=lastName
http\://schemas.xmlsoap.org/claims/CommonName=screenName