supertokens / supertokens-python

Python SDK for SuperTokens
https://supertokens.com
Other
127 stars 35 forks source link

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

Closed anku255 closed 3 months ago

anku255 commented 3 months 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.

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