PHP OpenID 身份提供商

发布于 2024-10-27 10:16:18 字数 1213 浏览 1 评论 0原文

我希望为我的网站实现一个 OpenID 身份提供者作为服务。我要将其与应用程序提供的现有用户服务集成,因此我想使用库而不是完整的 OpenID 服务器应用程序(即 OpenID Identity Servers 部分都做了太多的事情)。

这使得 OpenID 库 页面上列出了以下库(那些能够充当身份提供者;其他人被忽略,因为他们无论如何都不能做我需要的事情)。不幸的是,每个问题都存在一些问题,我希望得到关于我应该选择哪个的建议。

  • PHP OpenID 库 (Janrain) - 这似乎很流行,但似乎没有维护。由于缺乏对突出问题的修复,GitHub 上出现了很多很多的分叉;它似乎有效(经过一些修复),但很难知道要遵循哪个分叉,或者这样做是否安全。
  • NetMesh InfoGrid LID - 下载部分的 403 Permission Denied 并不令人鼓舞。
  • Zend Framework OpenID 组件 - Zend 框架的一部分,我们不这样做不用。

所以,我的问题是

  • 身份提供商还有其他选择吗?
  • 有人有 NetMesh 解决方案的经验吗?无法下载是怎么回事?
  • 可以在没有 Zend Framework 的情况下使用 Zend Framework 组件吗?
  • Janrain PHP OpenID 库是否有一个好的、可靠的分支?

I'm looking to implement an OpenID identity provider as service for a website of mine. I'm going to integrate it with the existing user services that the app provides, so I'd like to use a library rather than a complete OpenID server application (i.e. the tools listed on the OpenID Identity Servers section all do too much).

This leaves the following libraries listed on the OpenID Libraries page (those that are able to act as an identity provider; the others are ignored, as they can't do what I need anyway). Unfortunately there are some issues with each, and I'd appreciate advice as to which I should go for.

  • PHP OpenID Library (Janrain) - This seems to be popular, but seems to be unmaintained. There are many, many forks on GitHub due to a lack of fixes for the outstanding issues; it seems to work (with a few fixes), but it's hard to know which of the forks to follow, or whether it's safe to do so.
  • NetMesh InfoGrid LID - A 403 Permission Denied on the download section is not encouraging.
  • Zend Framework OpenID Component - Part of the Zend framework, which we don't use.

So, my questions are

  • Are there any other options for an identity provider?
  • Does anyone have any experience with the NetMesh solution? What's up with not being able to download it?
  • Can Zend Framework components be used without the Zend Framework?
  • Is there a good, reliable fork of the Janrain PHP OpenID Library?

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

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

发布评论

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

评论(1

萌辣 2024-11-03 10:16:18

您没有整体使用框架这一事实不应阻止您使用它的其中一个组件。 Zend_OpenID 的依赖组件列表可在此处获取。您只需获取运行 OpenID 所需的内容即可。我认为采用另一个 OpenID 组件与采用带有依赖项的 Zend_OpenID 没有任何巨大差异。

The fact that you do not use a framework in a whole should not stop you from using one of it's components. The list of dependent components of Zend_OpenID is available here. You can take just what you need for OpenID to be running and that's all. I don't see any huge difference in taking yet another OpenID component VS taking Zend_OpenID with dependencies.

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