You may be surprised to learn, as I was, that in Amazon Cognito both usernames and emails are treated as case-sensitive.
I recently added custom signup validation for Amazon Cognito.
Well, I’m in luck, because Amazon Cognito lets me customize much of my authentication workflow with AWS Lambda triggers.
Or, I can add other custom validation by adding additional checks and raising an exception, with a custom message if it fails.
Now you know more about controlling signup validation with a custom Lambda function.