Dead simple drop in authentication for Rails 3.2+
In your Gemfile add the following:
After running Bundler you'll need to install the migrations:
Then run your migrations.
You should also run the generator:
rails g easy_auth:setup
You will need to mix-in a few modules into your application:
class ApplicationController < ActionController::Base include EasyAuthHelper end
class User < ActiveRecord::Base include EasyAuth::Models::Account end
Your application is now ready for EasyAuth.
You will need to use one of the many plugins available for EasyAuth to provide a specific authentication strategy.
User model will be setup with an association to
identities. The modeling is pretty simple:
This gem follows Semantic Versioning
Please do! We are always looking to improve this gem. Please see our Contribution Guidelines on how to properly submit issues and pull requests.
DockYard, LLC © 2012