I am trying to build the ‘First broker login’ flow with an option to allow users to confirm the link with Idp by either re-authorizing to the Keycloak (
Username Password Form For Identity Provider Reauthentication ) or by sending a link to the email address (
Detect Existing Broker User →
Verify Existing Account By Email).
The problem is when the user clicks on the link from the Link to confirm account linking from the email it’s being asked to input its credentials. This makes no sense, as the user is already decided to go with the email confirmation flow. For me, it sounds like Keycloak re-starts the complete flow once the user clicks on a link in the email.
Is it possible to skip the re-inputting of the credentials in this case and link the user automatically?