-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
The output returned by confirmSignUp has signUpStep:'DONE' and not signUpStep:'COMPLETE_AUTO_SIGN_IN'. #14120
Comments
Hello, @adithyavis 👋. Can you share the frontend code that's calling the If you could the the frontend code as well as your |
Hey @cwomack, thanks for commenting. Actually we do use v6, and the docs for v6 state that Sharing our code like you requested. Would be glad to provide you any further assistance as well
|
Hi @adithyavis Thanks for the code snippet. Can you confirm the Furthermore, can you confirm your verification method? If you are verifying through a link, then your |
Hi @AllanZhengYP |
@adithyavis Glad to hear that! Yes we had verification before any sign-in attempt. If you see this error, you may sign out the user before signing in. |
Before opening, please confirm:
JavaScript Framework
React Native
Amplify APIs
Authentication
Amplify Version
v6
Amplify Categories
auth
Backend
Amplify CLI
Environment information
Describe the bug
I have
autoSignIn: true
option set while calling signUp method. signUpVerificationMethod is set to 'code'.Upon clicking on the verification link, my app is opened and confirmSignUp method is invoked with the email and code obtained from the link.
The signUpStep in the result of calling confirmSignUp is "DONE" instead of "COMPLETE_AUTO_SIGN_IN", hence autoSignIn is not possible.
Expected behavior
The signUpStep in the result of calling confirmSignUp should be "COMPLETE_AUTO_SIGN_IN"
Reproduction steps
Code Snippet
// Put your code below this line.
Log output
aws-exports.js
No response
Manual configuration
No response
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: