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
preguntada hace 2 años193 visualizaciones
No hay respuestas

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas