对于 Rails 应用程序来说,哪个是最好的 0auth gem?
我将向我的 Rails 网络应用 添加 Oauth 身份验证。既然我不想重新发明轮子,你有一些红宝石宝石建议添加这种功能吗?
TIA 保罗
I'm going to add Oauth autenthication to my rails web app. Since I don't want to reinvent the wheel, have you got some ruby gem to suggest to add this kind of feature?
TIA
Paolo
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我想说这个建议现在已经被取代了。我建议您使用 OmniAuth,如果您还需要普通身份验证,则可以使用 Devise。
有 2 个 OmniAuth 特定 RailsCast 可引导您完成所需内容:OmniAuth 第 1 部分和 OmniAuth 第 2 部分
I would say that this advice is now superseded. I'd suggest you use OmniAuth instead, possibly with Devise if you need normal auth as well.
There are 2 OmniAuth specific RailsCasts that walk you through exactly what's needed: OmniAuth Part 1 and OmniAuth Part 2
看看这些:
Pelle 在 github 上的插件 教程是 此处
第二个是 oauth2 以及一些 示例
Petr
Have a look at these:
Pelle's plugin at github tutorial is here
and the second one is oauth2 with some examples
Petr