How to Fix: Pow Assent redirect_uri header returns http instead of https

I’ve been struggling with how to correct a Google OAuth rejection of the redirect_uri header using the http protocol instead of https, when using Pow Assent. Google requires all OAuth headers to use https protocol in order to move the OAuth 2.0 Client ID Web Application Credentials to Production mode.

I found a solution to the issue on the Pow Assent repo, which should help others understand how to configure your Phoenix endpoint to resolve the issue

ssl via proxy · Issue #149 · pow-auth/pow_assent (