Any idea why i get this error when trying to authenticate a user?
Happens here: aws-cognito-sdk.min.js:21.
The scenario in which it happens:
I try to authenticate some user added to some user pool.
User was created using AWS Cognito console (web UI); email and phone were directly confirmed during creation form (by checking the _Mark phone number as verified?_ and _Mark email as verified?_ checkboxes; it can be seen that they are confirmed also from User Details view).
I try to authenticate the user using the temporary password, so that i can request the user to change it's password after authentication succeeds (user has status Enabled / FORCE_CHANGE_PASSWORD).
Due to this exception none of the 2 can be accomplished: authentication fails with that exception, if i try to do the pass change without authentication i get the _User is not authenticated_ error ...
I just saw Use case 23 in README.
l didn't realize that i need to provide the function myself.
Will close the issue.
Most helpful comment
I just saw Use case 23 in README.
l didn't realize that i need to provide the function myself.
Will close the issue.