furaiev / amazon-cognito-identity-dart-2

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
187 stars 114 forks source link

NotAuthorizedException, message: Incorrect username or password #157

Closed ctalladen78 closed 1 year ago

ctalladen78 commented 3 years ago

Hi I am getting this error when calling CognitoUser#authenticateUser(authDetails) credentials are hardcoded during testing

Unhandled Exception: CognitoClientException{statusCode: 400, code: NotAuthorizedException, name: NotAuthorizedException, message: Incorrect username or password.}
#0      CognitoUser._authenticateUserDefaultAuth.respondToAuthChallenge (package:amazon_cognito_identity_dart/src/cognito_user.dart:581:9)
<asynchronous suspension>
#1      CognitoUser._authenticateUserDefaultAuth (package:amazon_cognito_identity_dart/src/cognito_user.dart:599:30)
<asynchronous suspension>
#2      CognitoUser.authenticateUser (package:amazon_cognito_identity_dart/src/cognito_user.dart:437:14)
muhammadshahidraficp commented 3 years ago

Any update on this issue ? I am facing this issue during flutter web integration testing.

furaiev commented 3 years ago

Is this issue still topical?

vaidehi44 commented 2 years ago

@ctalladen78 @muhammadshahidraficp did you get any solution for this? I am getting this error in my web application even in development mode.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 1 year ago

This issue was closed because it has been inactive for 14 days since being marked as stale.