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
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:
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.