-
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
Auth v6 - Sign-in - Invalid phone number format. #13761
Comments
Hello, @hanoj-budime 👋. Is this happening after upgrading from v5 of Amplify to v6? I believe this is the error you'd experience if you're trying to call the newer API using the Can you see if calling the API like shown below helps resolve the issue?
|
Amplify checks phone_number is required during user migrated ? During user migration required phone_number which is missing but user is mirgrated succesfully from one pool to other pool. error at await signIn({ username, password, options }); |
hello @hanoj-budime. Sorry for any inconvenience using the library. The Bad: Good: Also, are both of your user pools configured to login with |
@hanoj-budime, wanted to check in and see if @israx's comment above helped unblock you or if you're still experiencing this. The Cognito docs on the |
Closing this issue as we have not heard back from you. If you are still experiencing this, please feel free to reply back and provide any information previously requested and we'd be happy to re-open the issue. Thank you! |
Before opening, please confirm:
JavaScript Framework
React
Amplify APIs
Authentication
Amplify Version
v6
Amplify Categories
auth
Backend
None
Environment information
....
Describe the bug
Amplify checks phone_number is required during / once user migrated ?
During user migration required phone_number which is missing but user is mirgrated succesfully from one pool to other pool.
However sign-in failed with InvalidParameterException ( Invalid phone number format. )
Expected behavior
Amplify must improve nextstep like
CONFIRM_SIGN_IN_WITH_REQUIRED
( where in-case phone_number will be required for MFA 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: