Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Keycloak kc_idp_hint query string #21701

Open
BZValoche opened this issue Jan 29, 2025 · 0 comments
Open

Enable Keycloak kc_idp_hint query string #21701

BZValoche opened this issue Jan 29, 2025 · 0 comments
Labels
component:keycloak enhancement New feature or request

Comments

@BZValoche
Copy link

Summary

Add an option in, oidc.config to add a custom query string to the authentication request.

Motivation

I would like to use Keycloak's kc_id_hint query string parameter, so the users connecting to ArgoCD are automatically redirected to an external idp provider configured in Keycloak

Proposal

Add an option in oidc.config, for example extra_query_string, where one would put, in this case, kc_idp_hint=myidp.
Alternatively, use an environment variable, like KC_IDP_HINT, which, if set, would be added to the URL juste before redirecting the user in (*ClientApp).HandleLogin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:keycloak enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants