Last active
December 20, 2015 03:09
-
-
Save revathskumar/6061465 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Rails.application.config.middleware.use OmniAuth::Builder do | |
configure do |config| | |
config.path_prefix = "/aircel/auth" | |
config.full_host = "http://localhost:3000/" | |
end | |
provider :developer unless Rails.env.production? | |
provider :google_oauth2, CONFIG['google_credentials']['client_id'], CONFIG['google_credentials']['client_secret'] | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment