[keycloak-user] Customize Execute Actions Email Subject
Nadim Elbaba
nad.elbaba at gmail.com
Tue Nov 6 04:38:52 EST 2018
Hello,
I would like to customize the subject of the emails sent using
"execute-actions-email" REST endpoint depending on the required actions,
e.g. :
- "Update your password" when the UPDATE_PASSWORD action is present
- "Verify your e-mail" when only the VERIFY_EMAIL action is present
The only solution I could think about was to provide a custom
EmailTemplateProvider implementation by extending the
FreeMarkerEmailTemplateProvider to override the "sendExecuteActions" method
in order to use different properties for the email subject.
Is there any simpler way ?
Anyway, thanks for this wonderful IAM solution !
Cheers,
Nadim
More information about the keycloak-user
mailing list