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
ssl via proxy #149
Comments
Hi, you need to change the config of your endpoint, there are two entries which contain
Edit: This is phoenix config, not pow_assent. |
This solved my issue, with the |
hello i am trying to use pow_assent to auth via google
i have a phx umbrella app behind nginx doing a proxypass xxx.com to localhost:4433
ssl all works as well as logging in with pow until i try to do the google auth, where it gives an error about the callback url
i beleive this is due to how pow assent is getting the endpoint url in my case it is appending the port to the callback url and failing
ie. The redirect URI in the request, https://xxx.com:4433/auth/google/callback, does not match the ones authorized for the OAuth client. i can see the request url varible has the port, how can i remove the port and complete google auth.
The text was updated successfully, but these errors were encountered: