I want to set email as an alias for username for a user pool in Cognito. I found out that this was possible from the Cognito docs:
I can see the option in the GUI under general settings > attributes
But the interface is disabled. I am admin
and AmazonCognitoPowerUser
in aws.
How can I add email as an alias for username?
Once the user pool has been created, AWS does not allow you to change this setting. You would have to create a new user pool and deal with migrating any existing users over. Yes, it is very annoying.