Roberto Hernandez
Roberto Hernandez

Reputation: 21

Is there a way to change the length of the Mfa authorization codes for AWS Cognito

I’m working on an AWS project that uses Cognito for authentication, and the client asked for sms verification but also he wants the code to be of 5 numbers length.

I’ve found a lot of documentation on how to customize de sms message text on AWS console and with lambdas, but I haven’t been able to find something about changing the verification code size.

Is there a way to do this?

Upvotes: 1

Views: 238

Answers (1)

Roberto Hernandez
Roberto Hernandez

Reputation: 21

Found my answer in another question: AWS Cognito Verification Code length change.

Seems that is not possible with configuration, but it can be done customizing the authorization flow with lambda.

Upvotes: 1

Related Questions