jonsaw / amazon-cognito-identity-dart

Unofficial Amazon Cognito Identity Provider Dart SDK, to easily add user sign-up and sign-in to your mobile and web apps with AWS.
MIT License
204 stars 93 forks source link

Incorrect username and password #57

Open vinhvussi opened 5 years ago

vinhvussi commented 5 years ago

Hi,

I'm totally new to Dart and AWS Cognito. I downloaded the project, modified the value and run. I was able to register a new user but when I tried to log in, I got an error "Incorrect username and password".

Thanks,

VV

rmelian commented 4 years ago

can you post the code you are using, it's almost impossible to help you with only this information

LudySu commented 4 years ago

There are multiple reasons for this error to occur. But if by any chance that you have enabled "remember device" in your User Pool, you will see this failure on the second and subsequent times that you login. You can take a look at the fix I did at: https://github.com/jonsaw/amazon-cognito-identity-dart/pull/62