Closed awsjoaomp closed 1 year ago
Hello, @awsjoaomp 👋. I believe this issue was opened due to #1411 being closed a couple years ago due to inactivity, but with no resolution provided. Is that right?
And can you confirm that you're currently on v4.3.46 of Amplify? If so, can you try upgrading to the latest version possibly and see if the issue persists?
@awsjoaomp, just wanted to check in and see if you had a chance to upgrade to the most recent version of Amplify to see if you still experience this issue.
Hello Chris! Yes, I update amplify to the latest version and I also pass the user object directly to the API. That way it worked! Thank you very much and sorry for the delay.
@awsjoaomp, that's great to hear! No worries, and feel free to comment back or create a new issue if you experience any other blockers.
Before opening, please confirm:
JavaScript Framework
Not applicable
Amplify APIs
Authentication
Amplify Categories
auth
Environment information
Describe the bug
I trying to create a sign in process with MFA, I am using the Auth.signIn function. The user object is returned and I received an SMS Code for MFA.
When trying to call the Auth.confirmSignIn function (passing the user object received from the Auth.signIn), I am receiving this error: "error signing in TypeError: user.sendMFACode is not a function".
The Sign Up and Sign In process works fine, but when calling the Confirm SignIn function results in error.
Expected behavior
The expected behavior is the Sign In process finish successfully using the Confirm Sign function (passing the user object, MFA Code received and the MFA Type)
Reproduction steps
Code Snippet
Log output
aws-exports.js
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