Skip to main content

If you are using our backend SDK that is lesser than the following versions, please visit the older documentation link here.

Changing the verification link's lifetime

By default, the email verification link's lifetime is 1 day. 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 EMAIL_VERIFICATION_TOKEN_LIFETIME=7200000 \
-d registry.supertokens.io/supertokens/supertokens-<db_name>
info
  • For managed service, this values can be updated by visiting our dashboard.
  • This requires that your SuperTokens core version >= 3.6.0
Looking for older versions of the documentation?
Which UI do you use?
Custom UI
Pre built UI