Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Multi-provider authentication with Omniauth

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 app
Octocat-spinner-32 config
Octocat-spinner-32 db
Octocat-spinner-32 doc
Octocat-spinner-32 lib
Octocat-spinner-32 public
Octocat-spinner-32 script
Octocat-spinner-32 test
Octocat-spinner-32 vendor
Octocat-spinner-32 !omniauth_pure.tmproj
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README
Octocat-spinner-32 Rakefile
Unsupported - kept as an archive...feel free to clone and update to Rails 4.0

Omniauth Buttons:

If you want to use Omniauth pure as a starting point in one of your applications, you just need to:
* add Omniauth to your gems
* generate a user model with whatever fields you like: rails generate model user name:string ...
* generate the service model: rails generate model service user_id:integer provider:string uid:string uname:string uemail:string
* generate the service controller: rails generate controller services
* set the secret for the cookie store in config/initializers/session_store!
* copy part of routes.rb
* copy the models service.rb and user.rb (or edit, if you already have a user model!)
* copy the code of the services_controller
* copy all views from services
* copy (parts of) the stylesheet
* and refer to the article for details...

June 2012 - Jorge Barnaby
Updated for Rails 3.2.6 and Omniauth 1.1.0
Something went wrong with that request. Please try again.