如何使用 ruby on Rails 构建 openid 提供程序
我尝试了一些有关 ruby on Rails 中 openid 使用的搜索。然而,尽管出现了一组选项,例如omniauth、authlogic等,但这些gem通常用于构建接受openid身份验证的站点。换句话说,它们用于 openid 消费者设置。
我也想建立自己的 openid 服务器。 按照 OpenId 网站的建议 我发现了一些东西不幸的是,像 Masquerade 和 local-openid 一样,它们并不是非常活跃的项目,下载量也很少。
有没有其他设施可以推荐用于构建自有的 openid 提供商服务器?
多谢 !!
干杯,
叶
I tried a few searches about openid utilization in ruby on rails. However, although there appears a set of options, such as omniauth, authlogic, and so on, those gems are normally used for building a site which accepts openid authentication. In other words, they are for openid consumer setup.
I want to build my very own openid server as well. As suggested here in OpenId site I found something like Masquerade and local-openid, unfortunately, they are not very active projects with very few downloads.
Is there any other facilities to be recommended for building a self-owned openid provider server?
Thanks a lot !!
Cheers,
Ye
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
虽然我多年来没有尝试任何基于 Ruby 或 Rails 的 OpenID 提供程序软件,但我认为您应该提供 masquerade 再一次尝试。对我来说,那里至少有一些活动,并且至少他们似乎已经跳到了 Rails 3.xx(这已经超过了一些非常流行的基于 Rails 的自由软件项目所提供的功能。我正在寻找在你,Redmine)。
此外,masquerade 的主要作者目前似乎正在开发一个名为 masq 的后续项目,该项目似乎旨在作为可安装引擎 OpenID 提供程序。完成此操作后,您可以轻松增强任何现有的 Rails >= 3.1.0 应用程序以充当 OpenID 提供商。不过,我不知道这个项目有多稳定。
Although I didn't try any Ruby or Rails based OpenID provider software for some years I think you should give masquerade another try. To me it seems there is at least a bit activity there and at least they seemed to have made the jump to Rails 3.x.x already (which is already more than some very popular Rails based free software projects have to offer. I'm looking at you, Redmine).
Additionally the main author of masquerade seems to be currently working on a successor project named masq which seems to be intended as a mountable engine OpenID provider. With this finished, you could easily enhance any existing Rails >= 3.1.0 application to act as an OpenID provider. I have no idea how stable this project is already, though.