aws / aws-sdk-net-extensions-cognito

An extension library to assist in the Amazon Cognito User Pools authentication process
Apache License 2.0
102 stars 49 forks source link

UserNotConfirmedException - how to resend confirmation code for not completed signup in .NET #96

Closed LoopIssuer closed 1 year ago

LoopIssuer commented 1 year ago

Describe the bug

This is just a question: After signup, the user gets Confirmation Code. However, if the user doesn't enter the confirmation code, next time when trying signUp, he gets an exception: UserNotConfirmedException. So question is, how to resend the confirmation code for not completed signup in .NET?

Expected Behavior

Can re-send confirmation code for signup flow

Current Behavior

Cannot re-send confirmation code for signup flow

Reproduction Steps

Use SingUp flow like here:

Possible Solution

No response

Additional Information/Context

No response

AWS .NET SDK and/or Package version used

AWS for Unity .NET

Targeted .NET Platform

Unity .NET

Operating System and version

Windows 11

ashishdhingra commented 1 year ago

@TMW81 Have you tried using CognitoUser.ResendConfirmationCodeAsync(). This calls the ResendConfirmationCode service API operation.

Thanks, Ashish

github-actions[bot] commented 1 year ago

This issue has not received a response in 5 days. If you want to keep this issue open, please just leave a comment below and auto-close will be canceled.

github-actions[bot] commented 1 year ago

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.