无法使用 google 或 Yahoo OpenID 登录我的项目
大家好,我已经建立了一个 openID 登录系统 - 就像我们在 stackoverflow 上的系统一样,在后端我使用 JanRains 库。它一直工作正常,直到突然之间 - 人们无法使用 google 或 yahoo openid 登录。它经常失败 - 然而任何其他常规 openid 似乎都工作正常。这里发生了什么 - 我试图追踪错误,由于某种原因它无法检索身份验证服务 - 从技术上讲,对于那些熟悉 AUth/OpenID/Consumer 文件中的 JanRain 的人来说,第 339 行或 Auth_OpenID_Consumer :: begin 函数中的该行附近:
$endpoint = $disco->getNextService($this->discoverMethod,
$this->consumer->fetcher);
对于使用 google 帐户登录的任何人,端点都会返回 null - 但是其他非 google/非 yahoo 帐户登录..这里发生了什么 - 我的网站现在已上线:(并且我已经后悔实施了 openID 的事情....我第一次尝试使用 Zends openID 库 - 结果失败了,所以我切换到 JanRain - 它工作了一段时间,但现在它也让我失败了......
Hi guys I've set up an openID login system - just like the one we have here on stackoverflow and on the backend I'm using JanRains libraries. It was working fine until all of a sudden - people can't login using a google or yahoo openid. ITs constantly failingt - instead however any other regular openid seems to work fine. WHats going on here - I tried to trace the error and for some reason its unable to retrieve the authentication Service - technically for those familiar with JanRain in the AUth/OpenID/Consumer file on line 339 or around that in the Auth_OpenID_Consumer :: begin function:
$endpoint = $disco->getNextService($this->discoverMethod,
$this->consumer->fetcher);
The endpoint is returned null for anyone logging in with a google account - however other non google/non yahoo accounts log in.. whats going on here - my site is now live :( and I'm already regretting having implemented the openID thing....I first tried using Zends openID library - that failed big time and so I switched to JanRain - it worked for a while but now its failed me too....
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
有时,这是系统的 HTTPS 获取程序被破坏或 CA 证书配置不正确的症状,因为 Google 和 Yahoo 都是仅 HTTPS IIRC。
Sometimes this is a symptom of your system's HTTPS-fetcher being busted, or improperly configured CA certs, since both Google and Yahoo are HTTPS-only IIRC.
雅虎需要有效的域名而不仅仅是 IP 地址。
Yahoo requires a valid domain name and not just an IP address.