# Authentication plugins

**URL:** <https://discuss.rubyonrails.org/t/authentication-plugins/40676>\
**Category:** rubyonrails-talk\
**Created:** [March 20, 2009, 12:03am UTC](https://discuss.rubyonrails.org/t/authentication-plugins/40676 "2009-03-20T00:03:27Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![ricardonns](https://avatars.discourse-cdn.com/v4/letter/r/7ab992/32.png) [@ricardonns](https://discuss.rubyonrails.org/u/ricardonns)\
**Post date:** [March 20, 2009, 12:03am UTC](https://discuss.rubyonrails.org/t/authentication-plugins/40676/1 "2009-03-20T00:03:27Z")

</div>

Hey there.

I am starting a new development and am still a newbie in rails, so i'd like to ask witch authentication plugin do you sugest?

Regards, Ricardo

---

<div class="post-metadata">

**Author:** ![Kaspars\_Bankovskis](https://avatars.discourse-cdn.com/v4/letter/k/cab0a1/32.png) [@Kaspars\_Bankovskis](https://discuss.rubyonrails.org/u/Kaspars_Bankovskis)\
**Post date:** [March 20, 2009, 6:55am UTC](https://discuss.rubyonrails.org/t/authentication-plugins/40676/2 "2009-03-20T06:55:03Z")

</div>

[http://github.com/technoweenie/restful-authentication/tree/master](http://github.com/technoweenie/restful-authentication/tree/master)

---

<div class="post-metadata">

**Author:** ![Bob\_Martens](https://avatars.discourse-cdn.com/v4/letter/b/76d3ee/32.png) [@Bob\_Martens](https://discuss.rubyonrails.org/u/Bob_Martens)\
**Post date:** [March 20, 2009, 7:01am UTC](https://discuss.rubyonrails.org/t/authentication-plugins/40676/3 "2009-03-20T07:01:13Z")

</div>

Restful Authentication and I think there is some movement behind Authlogic as well. Someone please correct me if I have that wrong.

However, I think there is some merit in actually sitting down and rolling your own as well. If anything, it allows you to learn a little bit more about Rails and how authentication works as well. A win-win in my estimation.

---

<div class="post-metadata">

**Author:** ![denzy](https://avatars.discourse-cdn.com/v4/letter/d/858c86/32.png) [@denzy](https://discuss.rubyonrails.org/u/denzy)\
**Post date:** [March 20, 2009, 10:18am UTC](https://discuss.rubyonrails.org/t/authentication-plugins/40676/4 "2009-03-20T10:18:55Z")

</div>

Here I was found detail tutorial for autenthication (restful\_authentication):

[http://railsforum.com/viewtopic.php?id=14216](http://railsforum.com/viewtopic.php?id=14216)

---

<div class="post-metadata">

**Author:** ![\_Wolas](https://avatars.discourse-cdn.com/v4/letter/_/a4c791/32.png) [@\_Wolas](https://discuss.rubyonrails.org/u/_Wolas)\
**Post date:** [March 20, 2009, 10:37am UTC](https://discuss.rubyonrails.org/t/authentication-plugins/40676/5 "2009-03-20T10:37:47Z")

</div>

having used both, i suggest authlogic. It has been easier for me to put in (and take out) than rest\_auth, which is quite a big plugin and fills your user class. then again, im sure both have their pros and cons

---

<div class="post-metadata">

**Author:** ![Charles\_Johnson](https://avatars.discourse-cdn.com/v4/letter/c/f475e1/32.png) [@Charles\_Johnson](https://discuss.rubyonrails.org/u/Charles_Johnson)\
**Post date:** [March 20, 2009, 1:11pm UTC](https://discuss.rubyonrails.org/t/authentication-plugins/40676/6 "2009-03-20T13:11:16Z")

</div>

I use authlogic because I found it a bit easier for me to understand and control. There are on the whole fewer modifications to the class or classes of log-in users than restful\_auth provides.

Cheers–

Charles

---

<div class="post-metadata">

**Author:** ![11175](https://avatars.discourse-cdn.com/v4/letter/1/8edcca/32.png) [@11175](https://discuss.rubyonrails.org/u/11175)\
**Post date:** [March 20, 2009, 1:33pm UTC](https://discuss.rubyonrails.org/t/authentication-plugins/40676/7 "2009-03-20T13:33:08Z")

</div>

Definitely recommend Authlogic. Restful\_auth is a generator...and those just aren't cool anymore.

---

<div class="post-metadata">

**Author:** ![Railsmaniac](https://avatars.discourse-cdn.com/v4/letter/r/dec6dc/32.png) [@Railsmaniac](https://discuss.rubyonrails.org/u/Railsmaniac)\
**Post date:** [March 20, 2009, 2:28pm UTC](https://discuss.rubyonrails.org/t/authentication-plugins/40676/8 "2009-03-20T14:28:44Z")

</div>

Yeap. I've migrated to authlogic.

You should also try clearance, [http://github.com/thoughtbot/clearance/tree/master](http://github.com/thoughtbot/clearance/tree/master)

---

<div class="post-metadata">

**Author:** ![ricardonns](https://avatars.discourse-cdn.com/v4/letter/r/7ab992/32.png) [@ricardonns](https://discuss.rubyonrails.org/u/ricardonns)\
**Post date:** [March 20, 2009, 2:28pm UTC](https://discuss.rubyonrails.org/t/authentication-plugins/40676/9 "2009-03-20T14:28:55Z")

</div>

I've already took a look into authlogic.

Seeming pretty cool so far... Gonna check it better and test it.

Restful Authentication i've lost myself in the middle of it. Seems more complete, but also more complicated, and for what i need authlogic should work just fine.

Thanks to all.

---

<div class="post-metadata">

**Author:** ![Chris22](https://avatars.discourse-cdn.com/v4/letter/c/7feea3/32.png) [@Chris22](https://discuss.rubyonrails.org/u/Chris22)\
**Post date:** [March 20, 2009, 6:30pm UTC](https://discuss.rubyonrails.org/t/authentication-plugins/40676/10 "2009-03-20T18:30:46Z")

</div>

I too have had better luck with AuthLogic. For me I think it was not so much a matter of the plugin itself, but I found the AuthLogic documentation, tutorials, and examples to be easier to follow. YMMV.

&nbsp;&nbsp;&nbsp;&nbsp;-Chris Warren

"Wolas!" wrote:

---

<div class="post-metadata">

**Author:** ![alyoshka](https://avatars.discourse-cdn.com/v4/letter/a/b19c9b/32.png) [@alyoshka](https://discuss.rubyonrails.org/u/alyoshka)\
**Post date:** [March 21, 2009, 10:33pm UTC](https://discuss.rubyonrails.org/t/authentication-plugins/40676/11 "2009-03-21T22:33:02Z")

</div>

I rolled my own simple but secure authentication system with less than 100 lines of code, with a few parts loosely based on restful authentication. I was frustrated with all the current solutions, until I took a look at AuthLogic. I think I'll be using that in my next project.

One question though, which authorization plugins/gems would be a good compliment to AuthLogic and which authorization system is the best right now anyways?
