supertokens / supertokens-node

Node SDK for SuperTokens core
https://supertokens.com
Other
278 stars 72 forks source link

fix: update access token cookie expiry to 1 year #868

Closed anku255 closed 1 week ago

anku255 commented 1 week ago

Summary of change

We decided to update the cookie expiry to 1 year because -

  1. Some browsers cap the max expiry to 400 days. See this for info.
  2. Our docs mention that access token cookie expiry is 1 year.

Related issues

Test Plan

(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work. Bonus points for screenshots and videos!)

Documentation changes

(If relevant, please create a PR in our docs repo, or create a checklist here highlighting the necessary changes)

Checklist for important updates