Reputation: 21
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
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