supertokens / supertokens-website

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

fix: attemptRefreshingSession should not throw if the refresh call 401s #246

Closed porcellus closed 7 months ago

porcellus commented 7 months ago

Summary of change

fix: attemptRefreshingSession should not throw if the refresh call 401s

Related issues

Test Plan

Added 2 related test:

  1. Test that attemptRefreshingSession doesn't throw in this situation (this fails on master)
  2. Test that sessionDoesNotExist doesn't throw in this situation (this already passes on master)

Documentation changes

N/A, bugfix

Checklist for important updates

github-actions[bot] commented 7 months ago

size-limit report 📦

Path Size
lib/build/bundleEntry.js 20.19 KB (0%)