netlify-cms-oauth-provider-go icon indicating copy to clipboard operation
netlify-cms-oauth-provider-go copied to clipboard

Listen in HTTP but callback in HTTPS results in redirect_uri_mismatch

Open kishaningithub opened this issue 6 years ago • 0 comments

I can see that the server starts up in http where as the callback url is in https.

In my setup the SSL is terminated by caddy and gets reverse proxied to netlify-cms-oauth-provider-go server. Since the proxy url is different from the one constructed here. Github fails the request with redirect_uri_mismatch error

Because of this i need the option of specifying REDIRECT_URL as an environment variable.

What are your thoughts ?

kishaningithub avatar Dec 08 '18 04:12 kishaningithub