Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 6.1.1 CE GA2, 6.1.20 EE GA2
-
Fix Version/s: 6.1.X EE, 6.2.0 CE M3
-
Component/s: Authentication
-
Labels:
-
Branch Version/s:6.1.x
-
Backported to Branch:Committed
-
Similar Issues:
Description
- Reproduction Steps -
1 - Have a Yahoo account
2 - On a clean database, using OpenId, log in by typing "yahoo.com" in the field
3 - You will have to create a user.
The problem with this is that Yahoo fully supports providing all attributes that are needed for Liferay to create an account automatically. This is what you see when you use for example Google.
The issue is probably within com.liferay.portlet.login.action.OpenIdAction, where it attempts to send the following request:
http://schema.openid.net/contact/email
http://schema.openid.net/namePerson/first
http://schema.openid.net/namePerson/last
Whereas Yahoo is expecting the following:
http://axschema.org/namePerson
http://axschema.org/contact/email
When accessing through Yahoo it should automatically create the account.

See https://github.com/brianchandotcom/liferay-portal/pull/7561