Rails authentication plugin recommendation

后端 未结 7 1684
梦如初夏
梦如初夏 2020-12-25 14:44

I would like to add authentication to my Rails app. I came across few plugins that do this: acts_as_authenticated, restful_authentication, Authlogic...etc

I haven\'

相关标签:
7条回答
  • 2020-12-25 15:39

    I've switched from restful_authentication to Authlogic, because Authlogic is a plugin/gem as opposed to a generator. This makes it infinitely easier to upgrade.

    Authlogic is also geared around being extensible, so you can fairly easily use it with OAuth or Facebook Connect (there are Authlogic modules that implement this, but I'm not using them; it's super easy to create an Authlogic user session manually).

    Stay away from acts_as_authenticated. It's ancient and unmaintained. As noted, restful_authentication is its successor.

    0 讨论(0)
提交回复
热议问题