RESET_REQUIRED case is not implemented in amplify-js/packages/amazon-cognito-identity-js/src/CognitoUser.js
See original GitHub issueIs your feature request related to a problem? Please describe.
When user status is NEW_PASSWORD_REQUIRED
is OK but not RESET_REQUIRED
Describe the solution you’d like
if (challengeName === 'NEW_PASSWORD_REQUIRED') {
....
return callback.newPasswordRequired(userAttributes, requiredAttributes);
}
add this:
if (challengeName === 'RESET_REQUIRED') {
...
return callback.resetRequired(userAttributes, requiredAttributes);
}
Issue Analytics
- State:
- Created 5 years ago
- Reactions:4
- Comments:13 (1 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Can we get this re-opened?
I too am facing similar problem, on importing some users via CSV, their account status shows as RESET_REQUIRED, when trying to login via Amplify, it returns NotAuthorizedException, Incorrect username or password.
How does frontend know that for this user password reset is required?