Skip to content

How to Configure Amazon Cognito SMS MFA for Users in the USA, India, and Multiple Countries?

0

Hi AWS Community,

I am configuring SMS-based Multi-Factor Authentication (MFA) using Amazon Cognito and AWS End User Messaging SMS in the us-east-1 region.

I need to send OTP messages to users in both the United States and India, with the possibility of supporting additional countries in the future.

I have successfully tested SMS sending manually using AWS End User Messaging SMS, but I need guidance on configuring the complete Cognito SMS MFA workflow.

Could you please clarify the following?

  1. Multi-country support: Can a single Cognito user pool send SMS MFA OTPs to users in both the USA and India, or do separate configurations need to be created for each country?
  2. India-specific requirements: What configurations are required for sending SMS to India, including DLT registration, Entity ID, Template ID, and sender ID?
  3. US requirements: Are there any additional requirements for sending OTP messages to US phone numbers?
  4. Origination identity: Do we need separate origination identities or phone numbers for India and the USA?
  5. Configuration: How should the origination identity, IAM role, and configuration set be configured for Cognito SMS MFA across multiple countries?
  6. Production access: What steps are required to enable production SMS delivery to both countries?
  7. Future expansion: If additional countries need to be supported later, what configurations and regulatory requirements should be considered?

My goal is to configure SMS MFA reliably across multiple countries while complying with AWS requirements and local regulations.

Any guidance, documentation, or configuration examples would be greatly appreciated.

Thank you!

2 Answers
1
Accepted Answer

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-1 and ap-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 assumes
  • OriginationIdentity – phone number, sender ID, or phone pool
  • ConfigurationSetName – optional configuration set for logging/protection
  • InEntityId – India DLT Entity ID
  • InTemplateId – 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:

  1. Your AWS End User Messaging SMS account is moved out of the SMS sandbox in the Region being used.
  2. Your spending quota is sufficient.
  3. The required US number registration is approved.
  4. Any country-specific sender ID, template, or business registration is completed.
  5. 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.

answered a month ago

EXPERT

reviewed a month ago

0

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

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.