什么应该替换为G Suite Marketplace上的'plus.me'范围?

问题描述 投票:0回答:2

直到目前我们在G Suite Marketplace上使用plus.mehttps://www.googleapis.com/auth/plus.me)范围进行OpenID Connect.But 'plus.me' scope will discontinue with Google+ API shutdown.

Google登录(和Google OpenID Connect)从'plus.me'替换为'openid'范围。我的代码已经迁移,但G Suite Marketplace不接受'openid',因为它只接受URL格式。

input openid scope on G Suite Marketplace SDK's Configuration

什么应该替换为G Suite Marketplace上的'plus.me'范围?

更新:即使'openid'和'plus.me'都没有注册,我也确认OpenID Connect没有OAuth确认屏幕。

如果'openid'范围是不需要在G Suite Marketplace SDK上注册的规范,并且此规范将保留,我希望获得Google撰写的参考或Google的工作人员的聆听。

google-oauth google-plus google-oauth2 google-apps-marketplace google-openidconnect
2个回答
0
投票

你可以查看migration指南:

大多数G +登录应用程序要求范围的一些组合:plus.loginplus.meplus.profile.emails.read

新范围:

•   email (https://www.googleapis.com/auth/userinfo.email)
•   profile (https://www.googleapis.com/auth/userinfo.profile)
•   openid (https://www.googleapis.com/auth/plus.me)

最好切换到Google登录身份验证系统。 Google现在建议请求ID令牌并将该ID令牌从您的客户端发送到您的服务器。 ID令牌具有内置的跨站点伪造保护,并且还可以在您的服务器上进行静态验证,从而避免额外的API调用以从Google服务器获取用户配置文件信息。按照validating ID tokens on your server的说明进行操作。


0
投票

目前,the issue is fixed和'openid'范围是能够注册的。

© www.soinside.com 2019 - 2024. All rights reserved.