- Newest
- Most votes
- Most comments
Yes, a single Cognito user pool can support users with phone numbers from multiple countries. You don't need a separate user pool for the US and India. The important part is that SMS registration and origination requirements are country-specific.
For the US, you need a registered origination identity such as a 10DLC number, toll-free number, or short code. US carriers require an origination identity even for OTP/MFA traffic. 10DLC, toll-free, and short codes each have their own registration process.
For India, there are two possible routes:
- International route (ILDO): Can be sent from supported AWS Regions and doesn't use the normal DLT sender-ID local route.
- Local India route: Requires TRAI/DLT registration, including the Principal Entity/Entity ID, approved template, Template ID, and registered sender ID. AWS currently supports these local DLT routes only from
ap-south-1andap-south-2.
That last point is important because your Cognito user pool is in us-east-1. If Cognito sends through AWS End User Messaging SMS in us-east-1, India traffic would normally use the international route rather than the DLT local route. If using local India routing is a requirement, review the Cognito regional SMS limitations before designing the solution.
For the newer AWS End User Messaging SMS direct integration, Cognito can be configured with:
CallerArn– IAM role Cognito assumesOriginationIdentity– phone number, sender ID, or phone poolConfigurationSetName– optional configuration set for logging/protectionInEntityId– India DLT Entity IDInTemplateId– India DLT Template ID
The IAM role needs sms-voice:SendTextMessage, preferably scoped to the specific origination identity ARN.
You should generally expect different origination identities/registrations for different countries. A US 10DLC or toll-free number, for example, isn't an India sender identity. AWS End User Messaging SMS phone pools can help manage multiple origination identities, but regulatory registration is still country-specific.
For production, also make sure that:
- Your AWS End User Messaging SMS account is moved out of the SMS sandbox in the Region being used.
- Your spending quota is sufficient.
- The required US number registration is approved.
- Any country-specific sender ID, template, or business registration is completed.
- Your OTP messages and opt-in process comply with local carrier/regulatory requirements.
For future countries, check the AWS Supported countries and regions for SMS messaging documentation first. Requirements vary significantly; some countries allow sender IDs without registration, while others require business verification, sender registration, templates, or dedicated numbers.
Thank you for the detailed explanation. This clarifies the multi-country and India DLT requirements.
I have one additional question regarding the current Cognito MFA behavior:
Our Cognito user pool is in us-east-1 and is configured with the AWS End User Messaging SMS direct integration (EumsSms). The configuration includes CallerArn, ExternalId, OriginationIdentity, and ConfigurationSetName.
When a user logs in, Cognito successfully returns the SMS_MFA challenge, but no OTP is received. We also do not see any new SMS event in the configured AWS End User Messaging SMS configuration-set CloudWatch log group. The only event currently present is from a manual SendTextMessage test, not from Cognito.
CloudTrail shows Cognito successfully assuming the configured IAM role, and the role has sms-voice:SendTextMessage permission.
Could you please advise what AWS service/log/API we should check to determine why Cognito is not generating/submitting the SMS request to AWS End User Messaging SMS after returning the SMS_MFA challenge?
Also, is there any additional Cognito-specific configuration required for SMS MFA delivery beyond the EumsSms configuration when using the direct AWS End User Messaging SMS integration?
answered a month ago
Relevant content
asked 2 years ago
asked 2 years ago
- AWS OFFICIALUpdated a year ago
