supertokens / supertokens-website

Frontend SDK for SuperTokens - for session management + automatically refreshing sessions
https://supertokens.com
Other
54 stars 13 forks source link

feat: Add DateProvider to fix clock skew issues #241

Closed anku255 closed 8 months ago

anku255 commented 8 months ago

Summary of change

This PR introduced DateProvider that is used to fix clock skew issues between server and client.

Related issues

Test Cases

Tested the following cases locally simulated clock skew by changing the system clock

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

Remaining TODOs for this PR

github-actions[bot] commented 8 months ago

size-limit report 📦

Path Size
lib/build/bundleEntry.js 20.03 KB (+4.23% 🔺)