Skip to main content
Answer

Expired password token

  • October 3, 2023
  • 1 reply
  • 85 views

Geurt
Captain
Forum|alt.badge.img+5

How long is the password token that is sent from the ‘password forgot’ function valid? And is there a place where you can have influence on that?

Best answer by Roel

Hello,

Password reset tokens and 2FA tokens that are sent by email are valid for roughly 9 minutes. 2FA tokens that use TOTP are valid for roughly 90 seconds.

Indicium uses the ASP.NET Core Identity framework for user management and authentication and these values are determined by Microsoft and hardcoded into the token providers that are used by default (by email, by totp). As it is, these are not configurable for us and we feel that it would be unwise to deviate from these token providers. In general it's not a very good idea to increase the lifetime of these tokens by a lot for security reasons.

Is there a specific problem you are running into regarding the lifetime of the tokens?

 

Kind Regards,

Roel

- edited

This topic has been closed for replies.

1 reply

Roel
Vanguard
Forum|alt.badge.img+2
  • Vanguard
  • Answer
  • October 24, 2023

Hello,

Password reset tokens and 2FA tokens that are sent by email are valid for roughly 9 minutes. 2FA tokens that use TOTP are valid for roughly 90 seconds.

Indicium uses the ASP.NET Core Identity framework for user management and authentication and these values are determined by Microsoft and hardcoded into the token providers that are used by default (by email, by totp). As it is, these are not configurable for us and we feel that it would be unwise to deviate from these token providers. In general it's not a very good idea to increase the lifetime of these tokens by a lot for security reasons.

Is there a specific problem you are running into regarding the lifetime of the tokens?

 

Kind Regards,

Roel

- edited