Genadinik
Genadinik

Reputation: 18649

Auth libraries for Ruby on Rails or JRuby

I am thinking about implementing authentication and user management using Ruby (or jRuby since I have not decided between the two at the time of this writing).

What are some good auth libraries available for Ruby/jRuby? Also since I am sort of a Ruby-newb, can I potentially use the same library for either ruby or jruby?

Thanks, Alex

Upvotes: 3

Views: 1158

Answers (2)

Daniel Kehoe
Daniel Kehoe

Reputation: 10952

Take a look at

http://ruby-toolbox.com/categories/rails_authentication.html

for a list of authentication solutions for Rails, ranked by popularity.

Devise is the most popular. Here's a useful tutorial and example app that shows how to set up Devise:

rails3-mongoid-devise tutorial and example

Upvotes: 5

Noam Ben Ari
Noam Ben Ari

Reputation: 768

Sorcery is another auth lib, which was born a few months ago, authored by me.

https://github.com/NoamB/sorcery

It is not so much for newbies, but it gives much more flexibility since it is a bare-bones API instead of a complete MVC solution.

Not yet tried on jruby.

See tutorials in the github wiki.

Upvotes: 5

Related Questions