Hi I would like to have my app can be signup either using Email Address or Phone Number using AWS Cognito Pool checking on Allow both email addresses and phone numbers (users can choose one).
But I want to ask users for Email address later (If they signed up with Phone number or ask for phone number if they signed up with Email address)
And I found that the options Email address or phone number in Cognito Userpool can not do the alias between Phone number and Email address but uses them as a Username instead.
In the same time, the Username option requires us to have a unique Username to signup but Username is no point in my application and I don't want user to type in many boxes while signing up.
Is there anyway I can achieve what I want using AWS Cognito UserPool ?