Erel Segal-Halevi
Erel Segal-Halevi

Reputation: 36853

OpenID and Google

I have just read that Google has deprecated OpenID 2.0. In the migration information, they say to "Change endpoint: You must replace the userinfo endpoint with the people.get endpoint by using the following HTTP request path: https://www.googleapis.com/plus/v1/people/me "

But, I haven't found the "userinfo" endpoint anywhere in my program. I connect to OpenID using LightOpenID, saying:

$openid->identity = 'https://www.google.com/accounts/o8/id'

So, what exactly should I replace with "people.get"?

Upvotes: 2

Views: 101

Answers (1)

Martin v. Löwis
Martin v. Löwis

Reputation: 127577

The document you are reading applies if you were migrating from "OAuth 2.0 login". Since you are migrating from "OpenID 2.0" instead, you need to read

https://developers.google.com/accounts/docs/OpenID#openid-connect

Upvotes: 1

Related Questions