Currently, the user registration process in Keycloak requires only a username and password. To enhance user experience and facilitate account recovery, I propose adding an email field to the registration process.
Proposed Changes
Update Registration Endpoint:
Modify the registration API to accept an email parameter in addition to the existing username and password.
Email Validation:
Implement validation.
Update User Model:
Ensure the user model in Keycloak includes an email field to store the email address.
Send Confirmation Email
Consider implementing functionality to send a confirmation email to the user upon registration to verify their email address.
Description
Currently, the user registration process in Keycloak requires only a
username
andpassword
. To enhance user experience and facilitate account recovery, I propose adding an email field to the registration process.Proposed Changes
Update Registration Endpoint:
email
parameter in addition to the existingusername
andpassword
.Email Validation:
Update User Model:
Send Confirmation Email