Skip to main content
Solved

Expired password token

  • October 3, 2023
  • 1 reply
  • 80 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

View original
Did this topic help you find an answer to your question?
This topic has been closed for replies.

1 reply

Roel
Vanguard
Forum|alt.badge.img+2
  • Vanguard
  • 92 replies
  • 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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings