Affects Version/s: Master
Component/s: Application Security > Open SSO
- Install and configure the OpenSSO server and create a new subject there: "test2"
- On Liferay, configure the various URLs for OpenSSO & enable it within Portal Instance
- Assert that the "First Name Attribute" default value is "givenname" (from the metatype)
- 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