Dear AWS Community,
I hope this message finds you well. We are currently working on a sign-up process for our platform and are facing a challenge regarding the validation of both email and mobile numbers using AWS services.
Our aim is to require users to validate both their email and mobile number by entering OTPs (One-Time Passwords) during the registration process. To accomplish this, we plan to utilize Amazon Cognito for email notifications and Amazon SNS for sending SMS OTPs.
However, our development team has encountered a roadblock. According to our developer, it seems impossible to validate both the email and mobile number simultaneously within Cognito due to its limitations. This limitation has raised concerns within our team as we firmly believe that in today's technological landscape, there should be a solution to enable such validations without constraints.
We are reaching out to seek guidance and suggestions from the AWS community on how we can achieve simultaneous validation of both email and mobile numbers during the user registration process using Cognito and SNS. We aim to implement a robust and secure verification workflow that ensures users validate both contact points before accessing our platform.
Our primary objectives are:
To trigger email notifications for email validation using Amazon Cognito.
To send SMS OTPs for mobile number validation using Amazon SNS.
To enable a seamless process where users must validate both their email and mobile number before completing the sign-up process.
Any insights, suggestions, or recommended approaches from your experiences or expertise in working with AWS services would be immensely appreciated. We are open to exploring custom solutions or alternative methodologies that could help us overcome this challenge.
Thank you in advance for your time and assistance. Your contributions to this matter would be invaluable to our project's success.
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.