谷歌帐户中的 PHP OpenID 故障

发布于 2024-09-07 16:35:54 字数 320 浏览 1 评论 0原文

我使用“PHP OpenID”通过 Google 帐户登录我的网站(论坛和 wiki),但是当我发送我的个人资料地址并登录时,会显示以下错误:

OpenID 身份验证失败:Nonce 已使用或超出范围

1。问题出在哪里以及如何解决?

2.如何从Google个人资料中获取图片和其他信息? 3.我如何从中获取以下列表以及有关关注者和...的其他信息?

我的测试页面是: http://www.osdev.ir/openid/

I'm use"PHP OpenID" for login with Google accounts into my site(forum and wiki) but when i send my profile address and i signed in bellow error are shown:

OpenID authentication failed: Nonce already used or out of range

1.where is the problem and how can i fix it?

2.how can get picture and another information's from a Google profile?
3.how can i get the following list and other information about followers and ... from it?

my test page is:
http://www.osdev.ir/openid/

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

狼性发作 2024-09-14 16:35:56

“随机数已使用或超出范围”意味着 OpenID 提供者返回的随机数已过期——对此进行检查以防止重放攻击。

可能是因为您的系统时间不正常(至少,那是我收到错误的时候)。

The 'nonce already used or out of range' means that the nonce returned by the OpenID provider has expired -- this is checked against to prevent replay attacks.

This could be because your system time is out of whack (at least, that's when I got the error).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文