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 ?
gefragt vor einem Jahr693 Aufrufe
1 Antwort
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
EXPERTE
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen