HomarrH
Homarr2y ago
52 replies
Maty

OIDC - redirect URI problem

Hi, unfortunately SSO with OIDC isn't working for me. When I try to sign in using SSO I get an error from the SSO provider that the redirect uri isn't the same as the one I have set up.
It's caused by the fact that Homarr sets the redirect uri as http and not as https. I can't add the http version of the uri to my app config, because the redirect uri "Must start with HTTPS". Is there any way to force homarr to use https even in the redirect uri?

I'm running Homarr 0.15.3 on Ubuntu 22.04 using docker compose.
Solution
And adding
RequestHeader set X-Forwarded-Proto "https"
to the Apache config has resolved it
Was this page helpful?