Repository navigation
Login redirect loop when running behind reverse-proxy #42999
Answered
by
shawkins
ArthurAttout
asked this question in
Q&A
Answered by
shawkins
Sep 29, 2025
Replies: 2 comments 5 replies
|
Moved to a discussion initially. In most instances something with this description is due to the proxy configuration. The relevant settings on the Keycloak side:
Indicate you are in an edge mode, and there is no fixed Keycloak hostname - which is not recommended.
I don't see encryption being handled by the proxy. That config snippet is showing the port 80 http configuration - but is setting forwarded headers as if the request is coming from https / 443. You should issue a redirect instead. |
3 replies
|
Your situation and the screen cap of the request sequence seems similar to #40111 - can you double check if anything is causing keycloak cookies to be lost? |
2 replies
Answer selected by
ArthurAttout
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Your situation and the screen cap of the request sequence seems similar to #40111 - can you double check if anything is causing keycloak cookies to be lost?