Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UserNotConfirmedException regardless of correct password being submitted #3271

Closed
poliver opened this issue May 1, 2023 · 4 comments
Closed
Labels
bug Something isn't working cognito Issues with the AWS Android SDK for Cognito

Comments

@poliver
Copy link

poliver commented May 1, 2023

State your question
If a user signs up, but fails to confirm the sign up, all subsequent attempts to sign in yield a UserNotConfirmedException, regardless of whether the correct password was entered or not. This appears to go against the current documentation, which suggests that I should be seeing a success response with nextStep.signInStep == AuthSignInStep.CONFIRM_SIGN_UP. The behavior implied by the docs is preferable because it allows me to distinguish between a user that has authenticated using the correct password and one that hasn't. Previous queries about this have been closed with no real explanation. Is this something that is configurable, or is the documentation incorrect?

Screenshot 2023-05-01 at 4 34 19 PM

Which AWS Services are you utilizing?
Cognito

Provide code snippets (if applicable)

Environment(please complete the following information):

  • SDK Version: 2.8.2

Device Information (please complete the following information):

  • Device: Pixel 4 XL
    If you need help with understanding how to implement something in particular then we suggest that you first look into our developer guide. You can also simplify your process of creating an application, as well as the associated backend setup by using the Amplify CLI.
@gpanshu
Copy link
Contributor

gpanshu commented May 1, 2023

Hello @poliver . The latest AWS SDK version is 2.67.0. I believe you are looking for Amplify-Android. If yes please close and recreate it there so that we can triage it.

@gpanshu gpanshu added the closing soon Issue will auto-close if there is no additional activity within 7 days. label May 1, 2023
@poliver
Copy link
Author

poliver commented May 2, 2023

@gpanshu Apologies for any confusion. I simply posted to the same repo as the issue I linked in my original post (which exhibits the same exception). A bit confusing, since both are Android repos under the Amplify Github org.

@div5yesh div5yesh added cognito Issues with the AWS Android SDK for Cognito bug Something isn't working and removed closing soon Issue will auto-close if there is no additional activity within 7 days. labels May 4, 2023
@poliver
Copy link
Author

poliver commented May 4, 2023

@gpanshu I opened a ticket in the other Android repo: aws-amplify/amplify-android#2427

@gpanshu
Copy link
Contributor

gpanshu commented May 4, 2023

Thank you. I will respond there.

@gpanshu gpanshu closed this as completed May 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cognito Issues with the AWS Android SDK for Cognito
Projects
None yet
Development

No branches or pull requests

3 participants