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
We are migrating an existing SAML Service Provider (SP) application to Keycloak,
where Keycloak will act as an SP and broker authentication to multiple external
customer Identity Providers (IdPs).
To ensure zero impact on our customers, we have kept the following identical between
the old SP and Keycloak:
The customer IdP validates the ACS URL in the AuthnRequest against its registered SP metadata
We cannot ask customers to update their IdP configuration
Question
Is there a supported, configuration-only way in Keycloak to override the AssertionConsumerServiceURL in the outgoing SAML AuthnRequest when using
Keycloak as an Identity Broker (SP)?
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.
-
Context
We are migrating an existing SAML Service Provider (SP) application to Keycloak,
where Keycloak will act as an SP and broker authentication to multiple external
customer Identity Providers (IdPs).
To ensure zero impact on our customers, we have kept the following identical between
the old SP and Keycloak:
EntityIDAssertionConsumerServiceURL(ACS URL)The ACS URL format we need to preserve is:
We use Nginx as a reverse proxy that routes the SAML POST response from the
customer IdP to Keycloak's internal broker
Problem
When Keycloak generates the SP-initiated AuthnRequest, it sets the
AssertionConsumerServiceURLto its own internal broker endpoint:However, we need Keycloak to set it to our custom external ACS URL:
This is critical because:
Question
Is there a supported, configuration-only way in Keycloak to override the
AssertionConsumerServiceURLin the outgoing SAML AuthnRequest when usingKeycloak as an Identity Broker (SP)?
Beta Was this translation helpful? Give feedback.
All reactions