Skip to content

How can Cognito user recover itself when in FORCE_CHANGE_PASSWORD user staus?

0

Let's assume a user is created in a cognito user pool with a temporary password. It is now in FORCE_CHANGE_PASSWORD user status. The user does not login with this password and months later he/she does not know the password anymore.

When trying to start the forget password procedure the error "User password cannot be reset in the current state." appears.

How can this user recover itself without the help of an admin?

1 Answer
0

Using sdk, another user must invoke again create user but setting messageAction RESEND. Then a new mail is sent to user with another temp password.

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.