Get message "Your password has been updated." after reset password

I am using Keycloak and I want to enable Forgot password flow. I have enabled Forgot password in login and configured SMTP to send email. What I get out of the box from keycloak is the following

→ Click on Forgot password link → Enter username or email → User receives an Email with reset link → Click on the link → Reset password, then submit → User is logged in then The user is redirected to account page.

What I want to achieve is the following

→ Click on Forgot password link → Enter username or email → User receives an Email with reset link → Click on the link → Reset password, then submit → Display a message saying “Your password has been updated.” and do not login the user. stay on that page.

I found some information about ActionToken and ActionTokenHandler, but I do not have any clue how to do this.
Can someone please help and give some advice?
Thanks in advance!

1 Like

Hey Did you managed to achieve that?

@Hassaan11 No, I did not manage it. After a password reset the user is still redirected to the useless login-page.