How do you authenticate a user in a user pool via Cognito when error messages say userName and password don't match even though they do?
So I am messing around with Cognito and their Beta User Pools feature in Javascript. I am successfully creating users thanks to the documentation found here: http://docs.aws.amazon.com/cognito/latest/developerguide/using-amazon-cognito-user-identity-pools-javascript-examples.html When I try and authenticate the users though I get a strange error message saying: NotAuthorizedException: Incorrect username or password. I don't understand why this is the case as I am literally copying and pasting the values for userName and password that I used to create the user, which is working fine. Below is