Search code examples
authenticationamazon-cognitoemail-confirmation

Cognito user is unable to reset his password, or ask for resent if his is in "force_change_password" status


If a cognito user lost his confirmation email is unable to reset his password, or ask for resent if his is in "force_change_password" status, and no error is displayed to him.

Is there any known fix on that?


Solution

  • Doesn't completely solve my issue, but it does provide an error message to the user.

    If you go to User Pool -> General Settings -> App clients -> under Prevent User Existence Errors -> change from enabled to legacy.

    So when the user clicks on the forget password will see this error message "Could not reset password for the account, please contact support or try again".