Google api 不推荐使用的Google登录作用域是否会停止工作?

Google api 不推荐使用的Google登录作用域是否会停止工作?,google-api,google-oauth,google-openid,google-profiles-api,Google Api,Google Oauth,Google Openid,Google Profiles Api,看起来Google不推荐使用以下作用域: https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email 他们什么时候会完全停止工作?简言之,不会。他们不会停止工作 从2014年9月1日起,我们不再推荐以下userinfo端点和作用域-我们将维护它们并保持它们的向后兼容性 弃用https://www.googleapis.com/auth/userinfo.p

看起来Google不推荐使用以下作用域:

https://www.googleapis.com/auth/userinfo.profile  
https://www.googleapis.com/auth/userinfo.email 

他们什么时候会完全停止工作?

简言之,不会。他们不会停止工作

从2014年9月1日起,我们不再推荐以下userinfo端点和作用域-我们将维护它们并保持它们的向后兼容性

  • 弃用
    https://www.googleapis.com/auth/userinfo.profile
    范围有利于等效的
    配置文件
    范围或更广泛的
    https://www.googleapis.com/auth/plus.login
    范围

  • 弃用
    https://www.googleapis.com/auth/userinfo.email
    范围有利于等效的
    电子邮件
    范围


但是,建议您不要继续使用不推荐的功能,因此您只需将作用域更新为
profile
email

,这是正确的。
profile
email
范围与较长的userinfo版本100%等效,因此您可以简单地用新的较短版本替换旧版本(并继续使用旧版本一段时间)。进行此更改是为了更好地与OpenID Connect标准保持一致。