Last active
February 28, 2019 04:04
-
-
Save freqn/22cfb4a7e93548d05ccd0494f4f9a016 to your computer and use it in GitHub Desktop.
Phoenix route scoping setup with Ueberauth
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
scope "/auth", Discuss do | |
pipe_through :browser | |
get "/:provider", AuthController, :request | |
get "/:provider/callback", AuthController, :callback | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment