6

我在 Ubuntu上看到了类似的问题,但我有兴趣通过我的基于 Rails 的站点托管我自己的 OpenID 提供程序,该站点已经有一个身份和身份验证系统。

请注意,我不是在寻找将站点用作 OpenID的委托方法。

正确执行此操作的最佳方法是什么?

4

3 回答 3

5

这个“在您的应用程序中支持 OpenID 的指南”似乎是您想要做的事情的分步教程。

于 2008-09-05T07:20:45.050 回答
4

Railscasts episode 68 OpenID authentication describes how to do exactly this. It's about a year old, so you may have to do some stuff differently. I'd also strongly for either an updated or newer OpenID plugin (the link for the one in the video is labeled "outdated").

Err, wait, that is to support OpenID authentication in a Rails application you are writing, not to have run an OpenID endpoint in rails.. Here is a guide to implimenting an OpenID server/endpoint in Rails pretty-much form scratch.. gem install openid-server might be easier, but you'll learn more implementing it yourself, and the code is pretty simple.

于 2008-09-05T12:10:57.720 回答
1

这让我想起了 ruby​​-openid 服务器的概述文档仍然缺失。但是您可以看到示例,并且在移植文档之前,请参阅遵循相同对象模型的 python 实现的文档。

于 2008-09-17T19:25:48.213 回答