1 Answer
- Newest
- Most votes
- Most comments
0
Hi,
I think that Cognito does not natively support sending the recovery code that is required to change the user's password to both destinations at the same time.
As described on the AWS documentation, Amazon Cognito chooses the code delivery destination based on the priority that you set.
If you do not specify a priority, Cognito uses a verified phone first. if it is not configured, It will try to the use verified email.
Finally, if neither a verified phone number nor a verified email exists, the API returns InvalidParameterException.
Relevant content
- asked 4 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago