Keycloak behind IIS reverse proxy #9182
Unanswered
JanneRantala
asked this question in
Q&A
Replies: 1 comment
-
New install with KC 26.4.1, i also have this issue with IIS. |
Beta Was this translation helpful? Give feedback.
0 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.
-
Hi all,
I have Keycloak and Angular app behind IIS/Application request router/URL Rewrite configuration located in let's say for example https://server.com. Keycloak has proxy-address-forwarding set to true, and if logging in to the application with Keycloak user everything works alright.
The problem occurs when defining Azure AD as an identity provider. After initiating login process, keycloak should redirect request to https://login.microsoft.com/tenantid/xxxx, but instead request is routed to https://server.com/tenantid/xxxx which obviously is not the right address.
X-Forward-For and X-Forward-Proto are set in IIS.
Any help/ideas are appreciated.
Beta Was this translation helpful? Give feedback.
All reactions