如何发现 OpenID IDP,然后使用 PHP 中的 OpenID Provider 进行身份验证

发布于 2024-11-06 19:49:45 字数 606 浏览 0 评论 0原文

我一直在考虑对我的一个网站实施 OpenID 身份验证,并希望找到最佳的解决方案,使用户尽可能轻松地注册/登录。

通过我在 Google 上的长时间搜索,我发现了一些网站已经对此进行了相当详细的介绍; Google 编写的联合登录可用性研究,因此感觉它们是非常值得信赖的设计模式最佳使用场景。

现在,在实现这一点时,我发现 PHP 对以这种方式完成的登录的支持很少;用户只需输入电子邮件地址,所有 OpenID 详细信息就会自动找到。它还应该与 Google Apps 地址兼容。

Google 提供了一个很好的示例链接 http://www.puffypoodles.com/lso2虽然它的源代码可以下载,但它是用 Java 编写的,我对 Java 还很不熟悉!

所以我想知道是否有人找到了一个以这种方式运行的良好 PHP 实现。 php-openid 看起来太臃肿,lightopenid 看起来很棒,但是不支持这个功能。

谢谢

I've been looking at implementing OpenID authentication to one of my websites and want to find the best possible solution to make it as easy as possible for users to sign up / in.

Through my long searches on Google I found a few sites that have already covered this in quite a bit of detail; Usability Research on Federated Login written by Google, so feel that they are pretty trustworthy design patterns for a best use scenario.

Now in coming to implement this I have found very little PHP support for logins that are done in this manner; the user only has to type in an email address and all of the OpenID details are found automagically. It should also be compatible with Google Apps addresses.

Google provided a link to a great example of this in action http://www.puffypoodles.com/lso2 but although its source code is available to download, it's written in Java, which I'm far from familiar with!

So I was wondering if anyone had found a good PHP implementation that functioned in this manner. php-openid seems too bloated, lightopenid looks great, but doesn't support this functionality.

Thanks

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

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

发布评论

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

评论(1

瑾兮 2024-11-13 19:49:45

我想指出的是,LightOpenID 现在附带了一个示例提供程序脚本,您可以将其用作基础。

I'd just like to point out that LightOpenID now comes with an example provider script you might use as a base.

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