Repository navigation
Replies: 1 comment 4 replies
|
You should see an error log indicating that hostname-url is no longer used. hostname-strict-https is not valid either. With hostname-strict as the default of true, hostname=KEYCLOAK_HOSTNAME, and proxy-headers=forwarded, the server will redirect requests to KEYCLOAK_HOSTNAME - but determine the protocol and port from the forwarded proxy header. If you are not seeing that behavior, then either your proxy is not setting the approriate header values, or is doing additional redirection. |
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Before reporting an issue
Area
No response
Describe the bug
When using Keycloak 26 behind an IIS proxy, the
redirect_uriis being modified fromhttp://localhost:5267/scalar/v1tohttps://domain.com/scalar/v1after successful authentication. This happens even though the proxy headers and Keycloak configuration seem correct.Version
26
Regression
Expected behavior
Expected to redirect to the provided redirect_uri.
redirect_uri =
http://localhost:5267/scalar/v1without modifying the base addressActual behavior
Redirects to
https://domain.com/scalar/v1rewriting the base addresshttp://localhost:5267How to Reproduce?
Steps to Reproduce
Anything else?
No response
All reactions