[ KEYCLOAK-12606 ] Passing email in login_hint query parameter during Identity brokering fails when an account already exists
This commit is contained in:
parent
03bbf77b35
commit
5082ed2fcb
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ public class IdpUsernamePasswordForm extends UsernamePasswordForm {
|
|||
throw new AuthenticationFlowException("Not found serialized context in clientSession", AuthenticationFlowError.IDENTITY_PROVIDER_ERROR);
|
||||
}
|
||||
|
||||
formData.add(AuthenticationManager.FORM_USERNAME, existingUser.getUsername());
|
||||
formData.putSingle(AuthenticationManager.FORM_USERNAME, existingUser.getUsername());
|
||||
return context.form()
|
||||
.setFormData(formData)
|
||||
.setAttribute(LoginFormsProvider.USERNAME_EDIT_DISABLED, true)
|
||||
|
|
Loading…
Reference in a new issue