AWS cognito Forgot password both mail and sms

0

For AWS cognito in "Configure how users will recover their account when they forget their password. " want to configure in such a way that both otp shoul be recieved from both sms and mail

已提问 6 个月前287 查看次数
1 回答
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.

profile picture
专家
已回答 6 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则