Releases: labd/node-federated-token
Releases · labd/node-federated-token
@labdigital/[email protected]
Major Changes
- fdde268: Remove the deprecated
CookieTokenSource
from@labdigital/federated-token
, this is available from@labdigital/federated-token-express-adapter
- abf409b: Switch to ESM only builds
Minor Changes
-
3d5baf8: Add ability to set custom expires time for the various cookies. For example:
const cookieTokenSource = new CookieTokenSource({ secure: true, sameSite: "strict", refreshTokenPath: "/refresh", userToken: { expiresIn: 30 * 24 * 60 * 60, // 30 days }, });
This will set the user token cookie to expire in 30 days. The default value is when
the browser is closed.
Patch Changes
@labdigital/[email protected]
Patch Changes
- ad2c4ec: Improve masking of tokens when logging errors
@labdigital/[email protected]
Minor Changes
- 9c25b37: Allow passing a logger instance to GatewayAuthPlugin
@labdigital/[email protected]
@labdigital/[email protected]
Patch Changes
- 92b186d: Use cookieNames from options when setting up auth provider
@labdigital/[email protected]
Minor Changes
- 47f6a6a: Replace lodash.isEqual with node:util
isDeepStrictEqual
@labdigital/[email protected]
Patch Changes
- Updated dependencies [47f6a6a]
- @labdigital/[email protected]
@labdigital/[email protected]
Patch Changes
- Updated dependencies [47f6a6a]
- @labdigital/[email protected]
@labdigital/[email protected]
Patch Changes
- Updated dependencies [47f6a6a]
- @labdigital/[email protected]
@labdigital/[email protected]
Patch Changes
- Updated dependencies [47f6a6a]
- @labdigital/[email protected]