Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AWS Cognito not sending verification SMS

I have setup AWS cognito with my own user pool, but when i create a user with a valid phone number i did not receive verification SMS on that phone. I have also created role to allow Amazon Cognito to send SMS messages. Please help me to debug the issue and let me know if any more details are required.

like image 710
Sachin Singh Avatar asked Jan 07 '17 11:01

Sachin Singh


People also ask

How does Cognito send SMS?

Amazon Cognito uses Amazon SNS to send SMS messages to your user pools. You can also use a Custom SMS sender Lambda trigger to use your own resources to send SMS messages.

How do I get a confirmation code for Cognito?

The Amazon Cognito service receives the sign-up request from the app. After verifying that the request contains all attributes required for sign-up, the service completes the sign-up process and sends a confirmation code to the user's phone (in an SMS message) or email. The code is valid for 24 hours.

How do I verify a phone number with Cognito?

Amazon Cognito can automatically verify email addresses or phone numbers. To do this verification, Amazon Cognito sends a verification code or a verification link. For email addresses, Amazon Cognito can send a code or a link in an email message. For phone numbers, Amazon Cognito sends a code in an SMS text message.

How do you authenticate on Amazon Cognito?

AWS Cognito User Pool will send verification code by email or sms and the user enters the code to get verified with the User Pool. User enters username and password and logs in with Cognito User Pool in which case a token will be provided by Cognito upon successful login.


1 Answers

You can open AWS Support center and create case. Under regarding, choose Service Limit Increase. For SNS, follow the link http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_sns

like image 120
Kumaresh Babu N S Avatar answered Oct 24 '22 19:10

Kumaresh Babu N S