amazon-archives / amazon-cognito-identity-js

Amazon Cognito Identity SDK for JavaScript
Other
985 stars 454 forks source link

Users unable to verify email in Cognito after closing login page #612

Open cecilia-sanare opened 6 years ago

cecilia-sanare commented 6 years ago

Description

If a user creates a new account and gets the verification page then closes the login there is no way for them to get back to the verification page.

Steps to Reproduce

Side Question

I know this is the front-end library for integrating cognito authentication.

What's the best way to contact or submit issues to members of the Cognito team if you only have a basic tier support AWS Account?

yishafang commented 6 years ago

For unable to verify email question: If you close the verification page before entering the code, the only way to verify is call AdminConfirmSignUp to confirm user and AdminUpdateUserAttributes to update email_verified to true.

eddywashere commented 6 years ago

Is it possible to use cognitoidentityserviceprovider.initiateAuth to resubmit the user details and pass through the confirmation code in the next auth step?

yuntuowang commented 6 years ago

@eddywashere No, I think the only way to do it is as @yishafang mentioned.