ueberauth_google
ueberauth_google copied to clipboard
Redirect_URI not resolving correctly
Steps to Reproduce
-
Change redirect_uri parameter to some value in config:
config :ueberauth, Ueberauth.Strategy.Google.OAuth, redirect_uri: 'https://example.com'
-
Check network logs
Expected Result
Expected redirect_uri to be https://example.com
Actual Result
Got redirect_uri to be http://example.com
My Suspicion
My endpoint uses HTTP and I get HTTPS throught NGINX. I think the uri is resolving to the endpoint HTTP status instead of explicitly using the string I provided it.