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 ?
posta un anno fa692 visualizzazioni
1 Risposta
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
ESPERTO
con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande