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

The output returned by confirmSignUp has signUpStep:'DONE' and not signUpStep:'COMPLETE_AUTO_SIGN_IN'. #14120

Open
3 tasks done
adithyavis opened this issue Jan 8, 2025 · 1 comment
Assignees
Labels
Auth Related to Auth components/category pending-community-response Issue is pending a response from the author or community. question General question React Native React Native related issue

Comments

@adithyavis
Copy link

Before opening, please confirm:

JavaScript Framework

React Native

Amplify APIs

Authentication

Amplify Version

v6

Amplify Categories

auth

Backend

Amplify CLI

Environment information

# Put output below this line
System:
    OS: macOS 15.2
    CPU: (11) arm64 Apple M3 Pro
    Memory: 151.50 MB / 18.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 22.11.0 - ~/.nodenv/versions/22.11.0/bin/node
    Yarn: 1.22.22 - ~/.nodenv/versions/22.11.0/bin/yarn
    npm: 10.9.0 - ~/.nodenv/versions/22.11.0/bin/npm
    Watchman: 2024.10.28.00 - /opt/homebrew/bin/watchman
  Browsers:
    Chrome: 131.0.6778.205
    Edge: 131.0.2903.112
    Safari: 18.2
  npmGlobalPackages:
    appcenter-cli: 3.0.3
    corepack: 0.29.4
    npm: 10.9.0
    yarn: 1.22.22

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

// Put your logs below this line


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

@github-actions github-actions bot added pending-triage Issue is pending triage pending-maintainer-response Issue is pending a response from the Amplify team. labels Jan 8, 2025
@cwomack cwomack self-assigned this Jan 8, 2025
@cwomack cwomack added Auth Related to Auth components/category React Native React Native related issue labels Jan 8, 2025
@cwomack
Copy link
Member

cwomack commented Jan 8, 2025

Hello, @adithyavis 👋. Can you share the frontend code that's calling the signIn() and signUp API's? The issue description states that you're on v6, but if you're setting autoSignIn: true within your sign up then that sounds like it's the v5 implementation of Auth.signUp() (see here).

If you could the the frontend code as well as your package.json so we can see the versions of your dependencies, that would help! Thanks.

@github-actions github-actions bot removed the pending-maintainer-response Issue is pending a response from the Amplify team. label Jan 8, 2025
@cwomack cwomack added question General question pending-maintainer-response Issue is pending a response from the Amplify team. pending-community-response Issue is pending a response from the author or community. and removed pending-triage Issue is pending triage pending-maintainer-response Issue is pending a response from the Amplify team. labels Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auth Related to Auth components/category pending-community-response Issue is pending a response from the author or community. question General question React Native React Native related issue
Projects
None yet
Development

No branches or pull requests

2 participants