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 ?
已提問 1 年前檢視次數 692 次
1 個回答
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
專家
已回答 1 年前

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

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

回答問題指南