3
votes

Which authentication plugin for Rails would you choose? I'm not interested in the permissions, roles and other authorization stuff.

I'm interested in the:

  • user model/controllers generation
  • predefined components to support various ways of authentication (HTML form, OpenID) with various back-end (database, LDAP, textfile).

I'm looking for something similar to the Java Spring Security (formerly Acegi) but for Rails platform.

Kind regards.

2

2 Answers

4
votes

Check out Authlogic. It's incredibly flexible and simple to get started.

Other options:

Clearance

Devise (Rack-based)

1
votes

Ruby Toolbox provides a nice list of Rails Authentication plugins.

I used restful_authentication in the past but I switched to authlogic 1 year ago. Authlogic is an excellent and high customizable plugin, there are also additional third party plugins to support OpenID and Facebook logins.

I heard good words about Clearance but I never used it.