Email verification with code

Hey! I’m curious if it might be possible to enable email verification with a code directly from Keycloak’s configuration. I’ve already seen that it can be done using a link, but that’s not my requirement.

I’ve been checking Keycloak’s repository, and I see they reference what I’m looking for:

email-verification-with-code.ftl

Or does this perhaps refer to a different functionality?

How can I enable it?

Not sure what that template does, as I can’t find other references in the code. Unless that is some new/hidden functionality, I don’t believe it is used.

If you need to implement a similar thing, I have an extension that does Email OTP that you could probably use as a base.

1 Like