Hi team, I want to send the verification email to user when he creates account. I want to customize the email template ,css and want to pass the user name in the template to whom email will be sent. How can i do so?
if you use existing email template. keycloak themes email folder your can find ftl files in there you can find ${kcSanitize(msg(“passwordResetBodyHtml”,link, linkExpiration, realmName, linkExpirationFormatter(linkExpiration)))?no_esc} this kind of code . inside this code you can add users username like this ${kcSanitize(msg(“passwordResetBodyHtml”,link, linkExpiration, realmName, linkExpirationFormatter(linkExpiration),user.username))?no_esc}