Rails3 OAuth 插件
您好,我在 Rails 3 应用程序上安装了 OAuth 插件,将其变成 OAuth 提供程序。
我按照 Rails 3 下 https://github.com/pelle/oauth-plugin 的说明进行操作 但是,
根据说明,它显示以下内容:
它需要一个身份验证框架,例如acts_as_authentication、restful_authentication 或restful_open_id_authentication。 它还需要 Rails 2.0。
我对它说需要 Rails 2.0 感到困惑。我是否还必须安装 Rails 2.0?谢谢
Hi I installed OAuth Plugin on my Rails 3 app to turn it into an OAuth Provider.
I followed the instruction from https://github.com/pelle/oauth-plugin under Rails 3.
But, under the instructions it says the following:
It requires an authentication framework such as acts_as_authenticated, restful_authentication or restful_open_id_authentication. It also requires Rails 2.0.
I am puzzled by the fact that it says Rails 2.0 is required. Do I have to install Rails 2.0 as well somehow? Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不,不应该。
确保你的 Gemfile 中有高于 0.4.0 的东西,因为指令说
Rails 3 永远不会允许你加载 Rails 2,它会崩溃。
No, it shouldn't.
Make sure you have something higher than 0.4.0 in your Gemfile, as the instruction say
Rails 3 will never allow you to load Rails 2, its going to implode.