Problem creating Cognito user pool with optional MFA without SMS option

0

When I create a Cognito user pool with MFA configured as optional and TOTP as the only option for MFA (i.e., SMS option not selected), I receive the following error at the final step of creating the user pool. It says that selecting SMS is required, which, again, appears as optional in that section of the user pool configuration screens. It looks like I am able to add MFA with TOTP to the user pool after creation. So, this seems like a mistaken validation within user pool creation.

I don't see any designated place to post this seeming bug report, so I'm posting it here.

[InvalidParameterException] Failed to create user pool

requestId: ee9444ef-19fd-4275-b220-c5a114ef47cb
time: Mon Jul 04 2022 14:03:04 GMT-0400 (Eastern Daylight Time)
code: InvalidParameterException
message: SMS configuration and Auto verification for phone_number are required when MFA is required/optional
dbaum
已提問 2 年前檢視次數 193 次
沒有答案

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

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

回答問題指南