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 個月前檢視次數 293 次
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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南