赞
踩
我做的是样本中提到的相同内容.
当我尝试打开网址时,您提到了https://www.google.com/accounts/o8/id
我得到以下屏幕.
当我尝试使用网址https://www.google.com/accounts/o8/ud时重定向到https://accounts.google.com/o/openid2/auth
并在我的网页浏览中提供以下屏幕
我认为url应该包含这些参数
https://accounts.google.com/o/oauth2/auth?
CLIENT_ID = 424911365001.apps.googleusercontent.com&安培;
RESPONSE_TYPE =代码&安培;
scope = openid email&
REDIRECT_URI = https://oa2cb.example.com/&
状态= security_token = 138r5719ru3e1&URL = HTTPS://oa2cb.example.com/myHome\u0026amp;
login_hint=jsmith@example.com\u0026amp;
openid.realm = example.com&安培;
HD = example.com
如此处所述https://developers.google.com/accounts/docs/OAuth2Login#sendauthrequest
屏幕需要一些时间才能显示,所以请等待一段时间才能看到我发布的输出.尝试时确保没有连接到任何受限制的WiFi网络.最好尝试使用任何2g或3g网络.
更新
检查一次是否为Open Id
https://developers.google.com/accounts/docs/OpenID#settingup(检查第3点是否要求)
关于终点
https://developers.google.com/accounts/docs/OpenID#endpoint
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。