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
205 stars 93 forks source link

CognitoUserConfirmationNecessaryException Error on every first login attempt #90

Open niklaslrks opened 3 years ago

niklaslrks commented 3 years ago

I am currently facing the issue, that my first login attempt will always result in a CognitoUserConfirmationNecessaryException (although the User is 100% Confirmed). The second login attempt immediately after will work completely fine and no Exception will occure. I have tested this with multiple Users and is always the same. I tried debugging but couldn't really get a hold of what goes wrong and the only thing I could work out was that it fails in these lines (cognito_user.dart): grafik

Is there any information I can provide for you to help me out? Thanks!