Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-135134

Mapping optional attribute onto mandatory blocks login

Description

    Requirement:
    Have an already working SAML link between an IdP and an SP, with a user present in both! The user should have no middle name.

    Steps to reproduce:

    1. IdP should not send firstName
    2. On SP side set up the following mapping: User Field Expression is firstName, SAML Attribute is middleName
    3. Try to log in with the user

    Actual result:
    User is denied access, gets redirected to SP landing page with warning pop-up.

    2021-07-05 14:42:45.600 ERROR [http-nio-8080-exec-5][WebSsoProfileImpl:219] Contacts must have a first name
    

     

    Expected result:
    Either user can log in with updated first name, or mapping mandatory field with optional should not be possible

    Reproduced on:
    Tomcat 9.0.43 + MySQL 8.0.25 | Portal master DXP GIT ID: 7e3babbae667ec5d49fe640b567580168a24ca80

    cc:gabor.lovas

    Attachments

      Issue Links

        Activity

          People

            support-lep@liferay.com SE Support
            ferenc.onodi Ferenc Onodi (Inactive)
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              1 year, 38 weeks, 2 days ago

              Packages

                Version Package