4

There is a similar question around (Keycloak - Verify user's email using Rest API) which does not answer my question.

When setting Verify email to true in the realm settings and registering a user through Keycloak an email is sent to the user. The template used is email-verification.ftl.

When having the same realm setting but creating a user through the REST API POST /{realm}/users the email is not sent. There is a REST API method PUT /{realm}/users/{id}/send-verify-email available, but it uses a different email template executeActions.ftl.

My expectation is Keycloak to send out an email 'normally' when the realm setting requires to verify your email. No matter whether you use the REST API or the UI.

Is there any fix/workaround to this?

Moritz Schmitz v. Hülst
  • 3,229
  • 4
  • 36
  • 63

0 Answers0