8000 Is there an API/SPI which gets called after external IdP selection but before the redirect? · keycloak keycloak · Discussion #52949 · GitHub
[go: up one dir, main page]

Skip to content
Discussion options

You must be logged in to vote

There is no separate generic SPI between IdP selection and redirect. performLogin() immediately builds the provider URL through createAuthorizationUrl(), which then appends that provider's configured forwarded parameters.

You should not need a provider-specific callback here:

  1. Set the claims client note in your existing authenticator.
  2. Configure Forwarded Query Parameters = claims only on the Google IdP.
  3. Do not list claims on the Microsoft IdP.

The note may exist for the whole authentication session, but only the selected provider whose configuration lists claims will copy it into its authorization URL. Microsoft therefore will not receive it.

If the value itself must be calculated after …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mkueng1
Comment options

Answer selected by mkueng1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
0