You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to authenticate and allow users to login to my app using their phone number only, by confirming it (using a one-time password sent using SMS) on registration and on every login.
How could one go about implementing this?
I already tried using the default Amplify CLI wizard, but the login screen it generated always required me to use a username/email address as the primary identification field.
Which AWS Services are you utilizing?
AWS Cognito
AWS S3
AWS DynamoDB
AWS AppSync
Environment (please complete the following information):
SDK Version: 1.6.5 (found using $ amplify --version)
Device Information (please complete the following information):
@itaisteinherz We chatted about this internally and here is the status:
If you want to just use a phone number AS the username, just select that option and use the phone number for the input field. You might have to build out your UI with AWSMobileClient rather than using drop-in auth but it's doable
If you want an "Alternative SignIn" option, meaning "just select the standard “username only” and use a phone number (to sign in) as well”, then it is not supported by the CLI
State your question
I need to authenticate and allow users to login to my app using their phone number only, by confirming it (using a one-time password sent using SMS) on registration and on every login.
How could one go about implementing this?
I already tried using the default Amplify CLI wizard, but the login screen it generated always required me to use a username/email address as the primary identification field.
Which AWS Services are you utilizing?
Environment (please complete the following information):
$ amplify --version
)Device Information (please complete the following information):
// cc @ofirsteinherz @undefobj
The text was updated successfully, but these errors were encountered: