Need to modify existing action token handlers for Verify-email / reset-password action token handlers. I tied extending AbstractActionTokenHander
for verify email and registered in org.keycloak.authentication.actiontoken.ActionTokenHandlerFactory
. Class loaded when launching keycloak, but still its using already existing class instead of implemented one.
For reset password flow create new authenticator and modify authentication flow.
1) Create new Authenticator by implementing Authenticator, AuthenticatorFactory
or modify existing code in org.keycloak.authentication.authenticators.resetcred.ResetCredentialEmail
2) Define Authenticator class info in org.keycloak.authentication.AuthenticatorFactory
file.
3) Deploy jar and Copy Reset credential authenticator flow and replace new authenticator with Send reset email execution
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.