February 2020
Intermediate to advanced
440 pages
13h 51m
English
In this recipe, we created an Amazon Cognito user pool retaining most of the defaults, but changing the user attributes' configuration. We created a few alias attributes.
By default, we can sign in using a username. We can add additional attributes as alias attributes and then use these to sign in. Allowed values for alias attributes are email, phone, or preferred username. We can also use one or both of email or phone number as the username and then use these to sign in instead of username, as shown in the following screenshot:

We can only specify either the alias attributes or username attributes, but not both. Within the ...
Read now
Unlock full access