1 Answer
- Newest
- Most votes
- Most comments
0
Hi!
For finding entities with the attribute EMAIL we will have to use the --filter option for the command that you used (aws cognito-idp list-users) and you can read more about the same here.
Now, for UsernameExistsException there is a document published and it has the following explanation under the subheading:
Preventing UsernameExistsException errors for email addresses and phone numbers on sign-up
When you configure alias attributes in your user pool, you can keep duplicate email addresses and phone numbers from generating UsernameExistsException errors in response to SignUp API requests. You must have created your user pool with email address or phone number as an alias attribute.
Does this help?
answered a year ago
Relevant content
- Accepted Answerasked 3 months ago
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
Please inform me if my answer was satusfactory by accepting my response with an up-vote.
Hi Carl, I am aspiring to become a Security committee member and your upvote helps in reaching my goal. If my answer was satidfactory, please do upvote.