Google plus 谷歌问题+;通过OAuth2和多重登录升级
我正在使用OAuth 2.0和Google plus 谷歌问题+;通过OAuth2和多重登录升级,google-plus,google-oauth,Google Plus,Google Oauth,我正在使用OAuth 2.0和plus.loginscope. 为了处理多个登录,我想使用login\u hint参数。请求看起来像 https://accounts.google.com/o/oauth2/auth? redirect_uri=https://developers.google.com/oauthplayground& response_type=code& client_id=407408718192.apps.googleusercontent.
plus.login
scope.为了处理多个登录,我想使用
login\u hint
参数。请求看起来像
https://accounts.google.com/o/oauth2/auth?
redirect_uri=https://developers.google.com/oauthplayground&
response_type=code&
client_id=407408718192.apps.googleusercontent.com&
scope=https://www.googleapis.com/auth/plus.login&
login_hint=user@gmail.com
它在大多数情况下都有效,但我在一个非常特殊的情况下遇到了一个问题:如果
login\u hint
指定的帐户
- 当前已登录,但
- 不是主帐户,以及
- 还没有升级到谷歌+
错误400未经授权的请求
页面
这是预期的行为吗
注:
问题似乎是用户被重定向到
https://plus.google.com/up?continue=...
而不是
https://plus.google.com/u/$i/up?continue=…
您已解决此问题吗?我找到了解决此问题的方法并继续。你也有同样的问题吗?我认为,它的出现是因为X-Frame-Options阻止了它。