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.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인