netlify-cms-oauth-provider-go
netlify-cms-oauth-provider-go copied to clipboard
Listen in HTTP but callback in HTTPS results in redirect_uri_mismatch
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 ?