关闭Google+后,OAuth API也会消失吗?

Sla*_*mir 20 oauth google-api google-plus google-oauth google-oauth2

我们的一些用户通过Google OAuth API进行身份验证(https://developers.google.com/+/web/api/rest/oauth)

除了2019年4月之后,Google版OAuth API的未来是什么?

除了OAuth之外,我们使用以下端点获取用户的电子邮件和名称:https://www.googleapis.com/plus/v1/people/me一旦我们获得访问令牌.该端点是否已过时?

Joh*_*ley 17

更新12/21/18

Google+关闭通知

[结束更新]

OAuth 2.0是Google帐户提供的服务.Google+结束时不会影响OAuth 2.0.

OAuth 2.0是Google Cloud Platform,G Suite和许多其他服务的基础身份验证服务.OAuth 2.0基于令牌,这些令牌可用于各种服务,包括基于Google和第三方.

下面在关于端点的评论部分中提出了另一个问题.

用户信息的Google+端点:googleapis.com/plus/v1/people/me可能会持续存在多年(等待Google正式发布).

我将开始使用Google OAuth 2.0端点(请注意alt = json):https://www.googleapis.com/oauth2/v3/userinfo ? alt = json

返回的Json看起来像这样:

{
  "id": "123456789012345678901",
  "email": "username@example.com",
  "verified_email": true,
  "name": "User Name",
  "given_name": "User",
  "family_name": "Name",
  "link": "https://plus.google.com/123456789012345678901",
  "picture": "https://lh3.googleusercontent.com/.../mo/photo.jpg",
  "locale": "en",
  "hd": "example.com"
}
Run Code Online (Sandbox Code Playgroud)

Google OAuth 2.0端点的当前列表:

https://accounts.google.com/.well-known/openid-configuration

  • 也许我需要更加具体.以下端点是否已弃用:https://www.googleapis.com/plus/v1/people/me这是我们目前用于获取用户的电子邮件,名字和姓氏的内容. (3认同)
  • @Slawomir-更新:本文详细介绍了正在关闭的https://developers.google.com/+/api-shutdown。端点“ people / me”被列为Goole + REST API的一部分,该API是关闭的一部分。 (2认同)