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