supertokens-node
Version:
NodeJS driver for SuperTokens core
11 lines (7 loc) • 505 B
Markdown
## [15.1.0] - 2023-08-14
### Changes
- Added a `Cache-Control` header to `/jwt/jwks.json` (`getJWKSGET`)
- Added `validityInSeconds` to the return value of the overrideable `getJWKS` function.
- This can be used to control the `Cache-Control` header mentioned above.
- It defaults to `60` or the value set in the cache-control header returned by the core
- This is optional (so you are not required to update your overrides). Returning undefined means that the header is not set.