# User Authentication plugin

**URL:** <https://discuss.rubyonrails.org/t/user-authentication-plugin/53581>\
**Category:** rubyonrails-talk\
**Created:** [August 12, 2010, 9:15am UTC](https://discuss.rubyonrails.org/t/user-authentication-plugin/53581 "2010-08-12T09:15:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![11155](https://avatars.discourse-cdn.com/v4/letter/1/d26b3c/32.png) [@11155](https://discuss.rubyonrails.org/u/11155)\
**Post date:** [August 12, 2010, 9:15am UTC](https://discuss.rubyonrails.org/t/user-authentication-plugin/53581/1 "2010-08-12T09:15:59Z")

</div>

Hi, I have to start a new application. Can anyone tell me whether should I use "Restful Authentication" or "Authlogic"?

Thanks, Mike

---

<div class="post-metadata">

**Author:** ![11155](https://avatars.discourse-cdn.com/v4/letter/1/d26b3c/32.png) [@11155](https://discuss.rubyonrails.org/u/11155)\
**Post date:** [August 12, 2010, 9:25am UTC](https://discuss.rubyonrails.org/t/user-authentication-plugin/53581/2 "2010-08-12T09:25:26Z")

</div>

Authlogic

---

<div class="post-metadata">

**Author:** ![11155](https://avatars.discourse-cdn.com/v4/letter/1/d26b3c/32.png) [@11155](https://discuss.rubyonrails.org/u/11155)\
**Post date:** [August 12, 2010, 2:41pm UTC](https://discuss.rubyonrails.org/t/user-authentication-plugin/53581/3 "2010-08-12T14:41:00Z")

</div>

Mike Disuza wrote:

> Hi, I have to start a new application. Can anyone tell me whether should I use "Restful Authentication" or "Authlogic"?

Definitely Authlogic (I've also been hearing good things about Devise, but never tried it). restful\_authentication relies on unmaintainable generated code, whereas Authlogic has a much cleaner approach.

> Thanks, Mike

Best,

---

<div class="post-metadata">

**Author:** ![reu](https://avatars.discourse-cdn.com/v4/letter/r/22d042/32.png) [@reu](https://discuss.rubyonrails.org/u/reu)\
**Post date:** [August 12, 2010, 2:44pm UTC](https://discuss.rubyonrails.org/t/user-authentication-plugin/53581/4 "2010-08-12T14:44:44Z")

</div>

Actually, I think you should try Devise [http://github.com/plataformatec/devise](http://github.com/plataformatec/devise)

---

<div class="post-metadata">

**Author:** ![David\_Zhu](https://avatars.discourse-cdn.com/v4/letter/d/d78d45/32.png) [@David\_Zhu](https://discuss.rubyonrails.org/u/David_Zhu)\
**Post date:** [August 12, 2010, 5:45pm UTC](https://discuss.rubyonrails.org/t/user-authentication-plugin/53581/5 "2010-08-12T17:45:46Z")

</div>

> \> I have to start a new application. Can anyone tell me whether should I \> use "Restful Authentication" or "Authlogic"?

Definately Authlogic.

It takes a bit longer to set up than Restful\_authentication but it is TOTALLY worth it.

The main reason is because with Authlogic, YOU write some basic code. But with Restful\_authentication, it generates all this code that is hard to customize and maintain.

Here's a railscast: [#160 Authlogic - RailsCasts](http://railscasts.com/episodes/160-authlogic)
