-
Bug
-
Resolution: Done
-
Undefined
-
None
-
False
-
-
False
-
-
Before reporting an issue
[x] I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.
Area
user-profile
Describe the bug
Enable update email with force email verification flag ON.
Create a user that has an email address set.
Assign UPDATE PROFILE action to the user.
Try to authenticate with the user => there are only first name and last name fields in the form
Fill those and submit
Uncaught server error: java.lang.IllegalArgumentException: The new email is mandatory
at org.keycloak.email.freemarker.FreeMarkerEmailTemplateProvider.sendEmailUpdateConfirmation(FreeMarkerEmailTemplateProvider.java:188)
at org.keycloak.authentication.requiredactions.UpdateEmail.sendEmailUpdateConfirmation(UpdateEmail.java:200)
at org.keycloak.authentication.requiredactions.UpdateEmail.requiredActionChallenge(UpdateEmail.java:135)
at org.keycloak.services.managers.AuthenticationManager.executeAction(AuthenticationManager.java:1307)
at org.keycloak.services.managers.AuthenticationManager.executionActions(AuthenticationManager.java:1265)
at org.keycloak.services.managers.AuthenticationManager.actionRequired(AuthenticationManager.java:1143)
at org.keycloak.services.managers.AuthenticationManager.nextActionAfterAuthentication(AuthenticationManager.java:999)
at org.keycloak.services.managers.AuthenticationManager.nextActionAfterAuthentication(AuthenticationManager.java:992)
Version
main
Regression
[ ] The issue is a regression
Expected behavior
Update profile should finish without error
Actual behavior
there is the exception
How to Reproduce?
see description
Anything else?
No response
- links to