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

OpenSSO fails to create a new user unless default "First Name Attribute" is corrected

    Details

      Description

      1. Install and configure the OpenSSO server and create a new subject there: "test2"
      2. On Liferay, configure the various URLs for OpenSSO & enable it within Portal Instance
      3. Assert that the "First Name Attribute" default value is "givenname" (from the metatype)
      4. Attempt to log into the Liferay. It should redirect to the OpenSSO server where you will authenticate as test2

      Expected result: A new Liferay user is created for test2 and you are logged in as it
      Actual result: An error is logged and you are not logged in.

      See log error below. It is caused by the incorrect default value in step 3. It should be "givenName".

      2018-10-04 15:31:57.941 ERROR [http-nio-8080-exec-2][AutoLoginFilter:255] Current URL /c/portal/login?redirect=%2Fc generates exception: com.liferay.portal.kernel.exception.ContactNameException$MustHaveFirstName: Contacts must have a first name

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 11 weeks ago

                Packages

                Version Package
                7.1.10 DXP FP3
                7.1.1 CE GA2
                7.1.10.1 SP1
                7.1.X
                Master