supertokens-website
Advanced tools
Changelog
[8.1.0] - 2021-06-25
SESSION_CREATED
event, which can be consumed by onHandleEvent
UNAUTHORISED
event before attempting to refresh if we know that a session does not exist.SIGN_OUT
event when signOut
is called and a session doesn't exist.addedFetchInterceptor
in fetch.ts
Changelog
[8.0.0] - 2021-06-06
preAPIHook
and onHandleEvent
functionssessionScope
is a now a stringsetAuth0API
, getAuth0API
and getRefreshURLDomain
functions.refreshAPICustomHeaders
and signoutAPICustomHeaders
from config. Use preAPIHook
instead.Changelog
[7.2.2] - 2021-06-14
Changelog
[7.2.1] - 2021-06-11
Changelog
[7.2.0] - 2021-06-05
cookieDomain
in config to add interceptors to multiple API subdomain: https://github.com/supertokens/supertokens-website/issues/58Changelog
[7.1.1] - 2021-05-31
Changelog
[7.1.0] - 2021-05-11
Changelog
[7.0.1] - 2021-05-07
Changelog
[7.0.0] - 2021-05-01
rid
on each request - acts as a CSRF protection measure (see https://cheatsheetseries.owasp.org/cheatsheets/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.html#use-of-custom-request-headers)