Hi @jart I was able to get github oauth to work following the getting started with Github guide, and now trying to get google oauth to work using oauth2. The doc's example for the authorize_url value is this.
authorize_url fn _, _ -> {:ok, "https://exampe.com/authorize"} end
authorize_url fn _, _ -> {:ok, "https://exampe.com/authorize"} end
If the path 'authorize' should be added to the router, I'm not sure what kind of module it should point to. Can you give me some pointers? I tried
/auth/user/google/
/auth/user/google/
as the authorize_url but it causes an ERR_TOO_MANY_REDIRECTS browser error, so I'm guessing that's not the right url.
The Elixir backend framework for unparalleled productivity. Declarative tools that let you stop wasting time. Use with Phoenix LiveView or build APIs in minutes for your front-end of choice.