Repository navigation
Description
Description
Customer wants to pass some dynamic query parameter from Keycloak to their external SAML IdP (e.g Ping Federate).
The customer's main use-case here is basically forwarding parameters from authorization requests to the IDP. Specifically, they have some insurance documents and a parameter named "Business Key" which is associated to a specific document. If there was no identity brokering, they would be passing the "Business Key" directly to Ping Federate in the SAML 2.0 SSO service URL which then will give a SAML Assertion based on the user and this "Business Key". It's functionally fine-grained authorization on a resource.
As of today, the Keycloak SAML IdP broker doesn't allow a client application to set any value from client input except the login hint.
Users need would need "destination" to have some sort of parameterized input to meet the request, but since "destination" is read exclusively from the config it's not possible. There's no other field that is a likely good candidate for their goals.
We already have a similar capability in Keycloak but for Social and OIDC-based brokers. Basically, it works by storing request parameters in the authentication session until a certain limit (configurable via provider config). For social and OIDC-based brokers, users can specify in a configuration setting which parameters to forward when building the authorization request to the identity provider.
For SAML, we would need to have the same mechanism.
Value Proposition
Enable context-aware SSO by safely forwarding allow-listed request parameters (e.g., business_key, tenant_id, etc...) through Keycloak's SAML broker so that external IdPs (e.g., PingFederate, ADFS...) can make fine-grained, resource/tenant-scoped decisions without custom proxies.
SAML is legacy but still a big thing in the IAM space. This improves the integration and streamlines the SAML login process with popular 3rd-party IAM solutions in the market. Hence good for the RH-SSO/ RHBK users base by satisfying their requirements in cross-IdP architectures context.
Goals
- Forward some "allow-listed" parameters from the incoming authorization request into the outgoing SAML authn request sent to the external IdP.
- Customer should be able to validate this for their "Document-scoped SSO" use case scenario by passing a "business_key" so that the IdP issues an assertion tied to a specific insurance document.
Metadata
Metadata
Assignees
Labels
Type
Fields
Value
Effort
Votes
Projects
- StatusShow more project fieldsOpen
Activity