legacy-knowledge-base
Publicado Jul. 25, 0002

InvalidNameIDPolicy errors

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

  • The following error occurs while configuring Liferay as SP and ADFS as Idp.
    • At Liferay end: ERROR [ajp-nio-0.0.0.0-8009-exec-10][BaseSamlStrutsAction:59] urn:oasis:names:tc:SAML:2.0:status:InvalidNameIDPolicy
    • At ADFS end: Microsoft.IdentityServer.Protocols.Saml.InvalidNameIdPolicyException: MSIS7070: The SAML request contained a NameIDPolicy that was not satisfied by the issued token. Requested NameIDPolicy: AllowCreate: True Format: urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress SPNameQualifier: Actual NameID properties: null

       

Environment

  • Liferay DXP 7.2

Resolution

  • When there are missing claim rules (CR and TR) at ADFS, or when claim rules are configured incorrectly, these types of errors arise.

  • The Name ID attribute has not been set at the TR rule, in this case, it should be as follows TR_Rule.png

Additional Information

did-this-article-resolve-your-issue

legacy-knowledge-base