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?

demandé il y a 4 mois107 vues
1 réponse
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.

Lucas
répondu il y a un mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions