留言板

OpenId Login

Vishal M,修改在9 年前。

OpenId Login

New Member 帖子: 14 加入日期: 14-7-15 最近的帖子
Hi,

I have changed navigation.jsp in login portlet using hook, and enable a user to login with openId for google.
Its working fine on my localhost:8080 However it gives me 400 That’s an error
OpenID auth request contains an unregistered domain: www.example.com:8080
when I use www.example.com
I am using
https://www.google.com/accounts/o8/id
URL for google login.

Thanks
Vishal.
thumbnail
Subhash Pavuskar,修改在9 年前。

RE: OpenId Login

Regular Member 帖子: 234 加入日期: 12-3-13 最近的帖子
Hi,

According to this page Google closed registration to new OpenID 2.0 clients in May 2014.

The reason why some hosts work and some don't is that although Google isn't adding new hosts, you can still use the ones that are already registered.

UPDATE : Some people have asked for a simple explanation for how to fix this, or otherwise how to proceed.

Basically, you now have 2 options.

Use OAuth 2.0 (instead of openID protocols and older versions of OAuth)

or

Use Google+ login (which Google tried to "push" you towards)

For more details check the migration guide :

https://developers.google.com/+/api/auth-migration#userinfo
Vishal M,修改在9 年前。

RE: OpenId Login

New Member 帖子: 14 加入日期: 14-7-15 最近的帖子
I appreciate your help emoticon


Thanks,
Vishal.