how to get OTP for Cognito user's ?

0

I am using the 'User Cognito Pool' Service.

Here I am storing the user's mobile and email ID.

Also, I am using 'SNS' and 'SES' services to send OTP to log in to my web application.

'SNS' States that only 10 mobile numbers can be registered. if so, How do all users available in the 'User Cognito Pool' get OTP?

1 回答
0
  • you can batch of users from your user pool, based on some criteria
  • For each user in the batch, send the OTP via SMS using AWS SNS. Make sure the user's mobile number is correctly registered with the SNS topic
  • If you want to send OTPs via email as well, you can use SES. You can use the SendEmail API to send emails with OTPs to the users.

update: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-user-groups.html

https://docs.aws.amazon.com/cognito/latest/developerguide/tutorial-create-user-pool.html

profile picture
已回答 5 个月前
  • Hi Manoj Kengudelu, Thank you for your time. I will refer to it, but I have some doubts, so kindly share if you have any reference Documents, for creating a batch of users in the user pool.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则