By default, the password reset link's lifetime is 1 hour. This can be changed via a core's config (time in milliseconds):
# Here we set the lifetime to 2 hours. docker run \ -p 3567:3567 \ -e PASSWORD_RESET_TOKEN_LIFETIME=7200000 \ -d supertokens/supertokens-<db_name>
# You need to add the following to the config.yaml file.# The file path can be found by running the "supertokens --help" command password_reset_token_lifetime: 7200000
- For managed service, this values can be updated by visiting our dashboard.
- This requires that your SuperTokens core version >=