Skip to content

Instantly share code, notes, and snippets.

@orafaelfragoso
Created August 1, 2014 03:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save orafaelfragoso/745418eceab3ee9a9cef to your computer and use it in GitHub Desktop.
Save orafaelfragoso/745418eceab3ee9a9cef to your computer and use it in GitHub Desktop.
Omniauth Routes
# Omniauth Authentication
get 'auth/:provider/callback' => 'sessions#create'
get 'auth/failure' => redirect('/')
get 'signout' => 'sessions#destroy', :as => 'signout'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment