legacy-knowledge-base
Publicado Jul. 25, 2002

Signed SAML response

written-by

Kanchan Bisht

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

Issue

  • How can the signed response, which is required by ADFS to complete authentication at the Liferay end, be clarified?
Environment
  • 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
  • Using MS ADFS & Liferay SAML Integration

did-this-article-resolve-your-issue

legacy-knowledge-base