Created
January 30, 2016 18:33
-
-
Save stevesohcot/0ab94de01ef0bb5086a3 to your computer and use it in GitHub Desktop.
OmniAuth config initializer
This file contains 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
#/config/initializers/omniauth.rb | |
Rails.application.config.middleware.use OmniAuth::Builder do | |
provider :identity, fields: [:first_name, :last_name, :email], | |
on_failed_registration: lambda{|env| IdentitiesController.action(:new).call(env)}\ | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment