Email Theme
Last updated
Was this helpful?
Last updated
Was this helpful?
There are two ways you can create a Keycloak Email theme with Keycloakify
is a Keycloakify plugin that enable to create an email theme using or any other email templating solution.
This plugin will evenutally be integrated to Keycloakify core.
This approach only works in Vite project. So not with Webpack/Create-React-App
yarn add keycloakify-emails jsx-email
npx keycloakify initialize-email-theme
, select the native
option.
Running this command will initialize a native email theme in the src/email
directory.
To use images you can put them into src/email/resources/ example:
And then you can import them using the FreeMarker varialble url.resourcesUrl
. Example:
For more instruction on how to configure Keycloak to send emails .