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 年前693 查看次数
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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则