You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
After upgrading to 1.7.1, SSO logins on our production environment started failing due to a wrong redirect_uri. The HTTP schema in the redirect_uri started getting set to HTTP instead of HTTPS. This is related to the TRUSTED_PROXIES configuration.
We made sure the environment variable was set correctly (as described in the docker setup documentation):
Describe the bug
After upgrading to 1.7.1, SSO logins on our production environment started failing due to a wrong redirect_uri. The HTTP schema in the redirect_uri started getting set to HTTP instead of HTTPS. This is related to the TRUSTED_PROXIES configuration.
We made sure the environment variable was set correctly (as described in the docker setup documentation):
Our reverse proxy was correctly adding the
x-forwarded-proto
header but the header seemed to be getting lost somewhere.It is possible that the
docker/caddy/Caddyfile
might be missing thetrusted_proxies
option for the reverse proxy header to be considered.Temporary Workaround
We commented out the
x-forwarded-proto
trusted header fromconfig/packages/framework.yaml
Related PRs
Which Mbin version was running on the instance?
1.7.1
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The redirect_uri schema should remain https based on the "HTTPS=TRUE" environment variable in docker compose.
The text was updated successfully, but these errors were encountered: