Skip to content
Dead simple drop-in identity based Rails authentication
Ruby JavaScript CSS
Latest commit 08311ff @danmcclain danmcclain Update easy_auth.gemspec
Failed to load latest commit information.
app Completed extraction of remember to password gem
db/migrate Removes gin index type for uid
script Generated engine
spec Identities require presence of token
.gitignore Ignore swap files
.rspec Add rspec formatting.
.travis.yml Updated travis Move to helper Typo correction
Gemfile Changed Gemfile to https Add locales wiki to usage section.
Rakefile Fixes for Rails 4.0.0.rc1
easy_auth.gemspec Update easy_auth.gemspec


Build Status Dependency Status Code Climate

Dead simple drop in authentication for Rails 3.2+


In your Gemfile add the following:

gem 'easy_auth'

After running Bundler you'll need to install the migrations:

rake easy_auth:install: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
class User < ActiveRecord::Base
   include EasyAuth::Models::Account

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.

For locales take a look on locales wiki page.

What you get

You User model will be setup with an association to identities. The modeling is pretty simple:

EasyAuth Identity Modeling


Brian Cardarella

We are very thankful for the many contributors


This gem follows Semantic Versioning

Want to help?

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


Licensed under the MIT license

Something went wrong with that request. Please try again.