Auth0 "Password Rotation" Action incorrect redirect with expired password

Hi @adam20,

Thanks for following up.

When using the React SDK, you can specify the prompt=login as an authorizationParams in the loginWithRedirect() method. In this situation, you will want to handle the login error by redirecting the user back to the login page if the “access_denied” error occurs.

For example:

const options = {
  prompt: 'login'
}
await loginWithRedirect(options);

(Reference: AuthorizationParams | @auth0/auth0-react)

Please let me know if you have any questions.

Thanks,
Rueben