Created
June 1, 2021 12:47
-
-
Save nilsandrey/055ba5dafc8f042ab49248dac3fac886 to your computer and use it in GitHub Desktop.
OmniAuth initializer configuration to enable all environments browse to your Auth0Controller::failure route
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
OmniAuth.configure do |config| | |
# Always use /auth/failure in any environment | |
config.failure_raise_out_environments = [] | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a complement to the answer found at SO: https://stackoverflow.com/a/10737754/2100126.
IMF is included in a comment of the accepted answer and in another answer with low votes count.