Last active
August 22, 2019 03:11
-
-
Save rwehresmann/14404cf8fbb730c5d57fbd3af4e63bb8 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 | |
| provider( | |
| :auth0, | |
| ENV['AUTH0_CLIENT_ID'], | |
| ENV['AUTH0_CLIENT_SECRET'], | |
| ENV['AUTH0_DOMAIN'], | |
| callback_path: '/auth/auth0/callback', | |
| authorize_params: { | |
| scope: 'openid email' | |
| } | |
| ) | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment