-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initialise Phoenix application #1
Comments
elixir_auth_google has just been updated: dwyl/elixir-auth-google#34 (comment) Updating the dependency and the code now |
Focusing now on adding tests for the 3 endpoints: auth-mvp/lib/auth_mvp_web/router.ex Lines 23 to 29 in 72d883c
The packages see http://blog.plataformatec.com.br/2015/10/mocks-and-explicit-contracts/ |
This is done. 👍 |
linked to dwyl/auth#40 (comment)
Create a new Phoenix application with
mix phx.new auth-mvp --app auth_mvp
. We might need to render some html from the auth application so I'm not adding the--no-webpack
and--no-html
optionUse elixir-auth-google and elixir-auth-github
/auth/urls
endpoint using theapi
scope and returns the list of the oauth urls/auth/google/callback
and `/auth/github/callbackAllow Cross Origin Resource Sharing to allow requests to access the auth api endpoints
endpoint.ex
file to add the lineplug CORSPlug, origin: ["*"]
Deploy the application on Heroku
/api/auth/github/callback
(and the google one) to be available for the Oauth appsmix phx.gen.secret
The text was updated successfully, but these errors were encountered: