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 Risposta
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
con risposta 5 mesi fa
  • 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.

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande