I have created a custom reset password class to manage the password reset flow. In my scenario, after resetting the password, I need to redirect the user back to the login page.
However, after resetting their password and being redirected to the login page, when I attempt to log in using the new password, I don’t receive the token. I find that I need to restart the OIDC login flow by reloading the page.
I suspect this issue is related to the user session. It seems that Keycloak might be storing this session during the reset flow, which could be causing an error when the user tries to log in again.
Any help is appreciated thanks.