-
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
AWS Amplify phone number login is not working. Am I doing it correct? #12903
Comments
Hey,👋 thanks for raising this! I'm going to transfer this over to our JS repository for better assistance 🙂 |
hello @therealkh , how did you configure your Cognito User pool ? and what can you see in the |
Hi @therealkh following up here - are you able to review/verify the comment above by @israx ? |
Hi, i made a workaround. I didnt find where i can mark fields as aliases and how to enable alias. My workaround is enabling username login option. Once i enabled it - it worked. Can you guys suggest better solution? |
@therealkh enabling alias would need to be done when the userpool is created, unfortunately at this time, its not possible to update the userpool alias after the userpool has been created. |
@therealkh Im going to go ahead and close out this issue as you have become unblocked. Let me know if you still have any questions. Thanks! |
Which Specific Feature is your question related to?
authentication
Question
I am trying make the authentication the way when user can sign up with email, add their phone number and use phone number as sign in option. But when I am trying to sign in with phone number I am getting 'User doesn't exist' error. When I use email to sign in, everything works and I am able to sign in.
Can someone point me at place where is my mistake or tell that it is a bug?
Also is that AWS SNS is in sandbox mode can be the reason? But I am using phone number that is verified for sandbox usage.
SNS verified numbers:
Versions:
Here is how Amplify Authentication is set:
Redux saga that calls signing up:
Sign in redux-saga (email field can contain phone number, depends on what user types in):
Logs that I am receiving in console:
How user looks like in amplify studio
The text was updated successfully, but these errors were encountered: