RailsCasts Episode #241: Simple OmniAuth (revised) http://railscasts.com/episodes/241-simple-omniauth-revised Requires Ruby 1.9.2 or higher. Commands used in episode rails g model user provider uid name rake db:migrate