Comment on page
Customize the default email template
It is now possible to customize the emails sent to your users to confirm their email address ect. Just run
For this script to work you must be in one of thoses scenario:
src/accountexsists, if it's the case it will assume that this is a standalong keycloak theme and create
- There is a
keycloak-themedirectory somewhere in your
srcdirectory. If it's the case it will create
This directory should be tracked by Git (
yarn add -A) You can start hacking the default template.
You can remove all the template and resource file you aren't going to customize (it will fallback to the default email theme as long as you keep a
yarn keycloak) is run it will bundle your email theme into your
.jarfile and you will be able to select it in the Keycloak administration pages.
Selecting your email theme in the Keycloak admin