supertokens-website
Advanced tools
Changelog
[20.1.5] - 2024-10-03
3.1
and 4.0
to the list of supported FDIsfront-token
header. This used to break the session state.Changelog
[20.1.4] - 2024-07-11
removeToken
callsChangelog
[20.1.2] - 2024-06-26
Changelog
[20.1.1] - 2024-06-13
Changelog
[20.1.0] - 2024-05-31
maxRetryAttemptsForSessionRefresh
option.Changelog
[20.0.1] - 2024-05-24
lockFactory
function in the configurationChangelog
[20.0.0] - 2024-04-03
The shouldDoInterceptionBasedOnUrl
function now returns true:
sessionTokenBackendDomain
is a valid subdomain of the URL's domain. This aligns with the behavior of browsers when sending cookies to subdomains.apiDomain
's port ot the sessionTokenBackendDomain
port (as long as the hostname is the same, or a subdomain of the sessionTokenBackendDomain
): https://github.com/supertokens/supertokens-website/issues/217Before:
shouldDoInterceptionBasedOnUrl("https://sub.api.example.com", "", "api.example.com") // false
shouldDoInterceptionBasedOnUrl("https://sub.api.example.com", "", ".api.example.com") // true
shouldDoInterceptionBasedOnUrl("https://sub.api.example.com", "", "example.com") // false
shouldDoInterceptionBasedOnUrl("https://sub.api.example.com", "", ".example.com") // true
shouldDoInterceptionBasedOnUrl("https://api.example.com", "", ".example.com:8080") // false
shouldDoInterceptionBasedOnUrl("https://api.example.com", "https://example.com:8080") // false
After:
shouldDoInterceptionBasedOnUrl("https://sub.api.example.com", "", "api.example.com") // true
shouldDoInterceptionBasedOnUrl("https://sub.api.example.com", "", ".api.example.com") // true
shouldDoInterceptionBasedOnUrl("https://sub.api.example.com", "", "example.com") // true
shouldDoInterceptionBasedOnUrl("https://sub.api.example.com", "", ".example.com") // true
shouldDoInterceptionBasedOnUrl("https://api.example.com", "", ".example.com:8080") // true
shouldDoInterceptionBasedOnUrl("https://api.example.com", "https://example.com:8080") // true
Changelog
[19.0.0] - 2024-03-14
validatorId
in claim validation errors to id
to match the backend SDKs1.19
to the list of supported FDIs