- Newest
- Most votes
- Most comments
Hi Rocky, Although I never implemented an app that requires three factor authentications (assuming that you are using password as the first factor + sms + email) the Cognito documentation cover this use-case.
Excerpt from the Cognito Documentation. Important If a user signs up with both a phone number and an email address, and your user pool settings require verification of both attributes, Amazon Cognito sends a verification code to the phone number through SMS message. Amazon Cognito hasn't yet verified the email address, so your app must call GetUser to see if an email address awaits verification. If it does require verification, the app must call GetUserAttributeVerificationCode to initiate the email verification flow. Then it must submit the verification code by calling VerifyUserAttribute.
Relevant content
- asked 5 months ago
- Accepted Answerasked 4 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
Thanks for your assistance
Hi Eduardo Oliveira, How do I get user input values in the Create Auth challenge lambda for login? because my requirement was the same as well and users can log in with both email and phone numbers.