Increase time limit for first time login/force change password

0

It looks like there is time duration for first time user login in cognito. When we create an account for the user for our application, the cognito sends the email with one time password. But it has some expiry time.

  1. What is the default expiry time duration ?
  2. Is there a way to increase the time duration for expiry ?
  3. If yes for #2, what is the maximum duration for the expiry time ?
preguntada hace un año692 visualizaciones
1 Respuesta
0

Hi Navin,

If you refer to the 3 minutes default timeout for users to reply to Cognito, you can look into this, https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-authentication-flow.html, where it says:

To adjust this period, change your app client Authentication flow session duration.

Hope it helps, and if does I'd appreciate if answer can be accepted, so that community can benefit for clarity when searching for similar questions, thanks ;)

profile picture
EXPERTO
respondido hace un año

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