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
demandé il y a 2 ans193 vues
Aucune réponse

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions