Verification Link Expiration Time

When users receive a verification link by email, it only works for a limited time. This helps keep accounts secure. If the link expires, a new one will be automatically sent to the user.


Default Expiration Time

By default, verification links are valid for 7 days (or 604800000 milliseconds). After that, they stop working.


How to Change the Expiration Time

To edit how long the verification link stays active, you can update the expiration time for the links in your API key settings. Here’s how to do it:

  1. Go to your API Keys.
  2. Under options, add the following to set the desired expiration time (in milliseconds). For example, for a link that expires in 1 minute, you would use:

    "accessTokenExpiration": { "default": 60000 }

  3. Save your changes.

Notes

  • The expiration time can range from 1 minute to several days, depending on your specific needs.
  • Always ensure the configured time aligns with your security policies and user experience goals.
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us