Don’t know if it also fixes existing flows, perhaps you’ll have to recreate your existing flow.
WRT to your description of your use case: I don’t understand why you would use two idp-redirectors as alternatives. If the idp-redirectors are the default ootb ones, that doesn’t make sense to me.
What exacty do you want to achieve?
When I use an auth flow with a single IDP-Redirector and I DONT specify which IDP it should use, I still get an Authentication Exception in the logs.
Though not the same as before, it doesnt say what exactly went wrong…
However when I specify an IDP to use in the step it works as expected.
I had hoped by leaving the default IDP field empty, keycloak would show seperate buttons to login with the IDP of you choice?
Is this still a technical problem or is my configuration wrong?
UPDATE:
I can get it to work if I include a username/password steop in the auth flow.
Then keycloak shows the standard login form and below that the 2 IDP-Login buttons.
But we want to see only the buttons for the IDPs.
Is that possible?
The idp redirector authenticator is not about giving a choice to the user, it’s only about redirecting upon certain conditions (either query param or default config). If no condition is met, it does nothing.
As you already found out, the user has the choice of the configured IdP’s on the username-/username-password form itself. There’s no option to “just display the IdP options” ootb. Easiest approach would be to adjust the login.ftl in your custom theme to not show the form, but only the idp-buttons.