You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a setup with a Keycloak Broker Instance and a Keycloak IDP Instance deployed in separate OpenShift clusters. Multiple applications are integrated with the broker and IDP using OIDC/SAML for authentication. This setup worked fine when exposing the applications under a single internal domain (e.g., "broker.internal.domain.com").
Now, we need to expose the applications, broker, and IDP under two additional external domain names. These external domains are mapped to the IP of our F5 load balancer, with the request chain being: client -> F5 -> ingress (HAProxy) -> pod.
Our initial idea was to rewrite the URL of external requests to the internal URL and send it to the ingress (e.g., "broker.external.domain.com" -> "idp.internal.domain.com"). The same approach would be used for the services and the IDP.
After many hours of investigation, we still can't get this setup working. We recently upgraded to Keycloak 25 to leverage the hostnamev2 feature, which seemed promising based on the documentation (https://www.keycloak.org/server/hostname), especially the "fully dynamic urls" section.
Since this setup should be possible with hostnamev2, I'm wondering if we're running into a bug or a special situation that's not yet covered.
My question is: Should this setup work in general? Does anyone have tips on the proper configuration for URL rewrites and other settings?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I have a setup with a Keycloak Broker Instance and a Keycloak IDP Instance deployed in separate OpenShift clusters. Multiple applications are integrated with the broker and IDP using OIDC/SAML for authentication. This setup worked fine when exposing the applications under a single internal domain (e.g., "broker.internal.domain.com").
Now, we need to expose the applications, broker, and IDP under two additional external domain names. These external domains are mapped to the IP of our F5 load balancer, with the request chain being: client -> F5 -> ingress (HAProxy) -> pod.
Our initial idea was to rewrite the URL of external requests to the internal URL and send it to the ingress (e.g., "broker.external.domain.com" -> "idp.internal.domain.com"). The same approach would be used for the services and the IDP.
After many hours of investigation, we still can't get this setup working. We recently upgraded to Keycloak 25 to leverage the hostnamev2 feature, which seemed promising based on the documentation (https://www.keycloak.org/server/hostname), especially the "fully dynamic urls" section.
Since this setup should be possible with hostnamev2, I'm wondering if we're running into a bug or a special situation that's not yet covered.
My question is: Should this setup work in general? Does anyone have tips on the proper configuration for URL rewrites and other settings?
Thank you in advance.
All reactions