Login redirect loop when running behind reverse-proxy #42999
-
Beta Was this translation helpful? Give feedback.
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. |
Beta Was this translation helpful? Give feedback.
-
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? |
Beta Was this translation helpful? Give feedback.
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?