1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
The issue is discussed here: https://repost.aws/knowledge-center/cognito-forgot-password
Specifically:
Users created by administrators are in a FORCE_CHANGE_PASSWORD status by default until they sign in with the password provided. Then, users are prompted to change the password. If the user status is FORCE_CHANGE_PASSWORD, then the ForgotPassword API call can't be used and the verification code isn't sent.
An alternative approach is not to set MessageAction='SUPPRESS', which will make Cognito send an email to the user's registered email with the temporary password. Once they sign up using this, all should work.
répondu il y a 2 ans
Contenus pertinents
- demandé il y a 2 ans
- demandé il y a 3 mois
- demandé il y a 3 ans
- AWS OFFICIELA mis à jour il y a 10 mois
- AWS OFFICIELA mis à jour il y a 3 ans
