-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: Master
-
Fix Version/s: 7.1.10 DXP FP3, 7.1.1 CE GA2, 7.1.10.1 SP1, 7.1.X, Master
-
Component/s: Application Security > Open SSO
-
Branch Version/s:7.1.x
-
Backported to Branch:Committed
-
Story Points:0.5
-
Git Pull Request:
- 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