Repository navigation
Keycloak java admin client verification email use standard emailVerification template #14959
Unanswered
maciejbak85
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
in keycloak's java admin client its possible to send verify email to the user:
realmUsersResource.get(userId).executeActionsEmail(List.of(startingAction))or by
realmUsersResource.get(userId).sendVerifyEmail(keycloakResource)but as we see the email content is different vs standard verification email being send by standard Keycloak UI registration form. While using standard form it sends email using emailVerificationSubject, emailVerificationBody taken from messages_en.properties ( in keycloak/theme/base/email/messages folder ) but when its send using admin client it uses executeActionsSubject, executeActionsBody.
I am registering user on my backend side, using admin client but I would like to use this emailVerification(Subject/Body) for emails.. how to do it ? is it possible ?
thanks
All reactions