Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@sailfin/oidc

SailfinIO553MIT0.1.0TypeScript support: included

An OIDC client for Node.js

oidc, openid, openid connect, ouath2, oauth, auth, authentication, authorization, identity, identity provider, identity management, identity federation, identity token, identity token provider, identity token management, identity token federation, typescript, nodejs, session, session management

readme

README.md

changelog

0.1.0 (2025-06-18)

Features

Bug Fixes

  • add client and decorators (785e93c)
  • add container class (4b71e5b)
  • add fallback for session setting (9ab570e)
  • add fallbacks for session management (3ead712)
  • add logout decorator and debug logs (1e861b2)
  • add Reflect define Metada (3016e67)
  • add Reflect define Metada (2a13137)
  • add silent-login flag for login decorator (dbb4a8d)
  • add some defaults and checks (97e5571)
  • arg check (8724d06)
  • cert creation logic (8b5e42d)
  • check for cookie in session (384af83)
  • check for missing res (e05f8ea)
  • check for plain objects (12233ba)
  • check for plain req (142d604)
  • create provider and dynamic module (ecb1ba3)
  • create provider scope (142efde)
  • deep merge in client config (7fe2ff9)
  • default logger assignment in mutex (9110a53)
  • defaults (ff94071)
  • DynamicModule, Provider, and usage in SailfinModule (3bf0ff4)
  • ensure logging (d7b5136)
  • export constants (3569774)
  • export the SailfinClientModule (4580f4e)
  • handle passport session (d7ee9db)
  • ignore static files (e23283d)
  • inclue missing nestjs compatible properties (688eef1)
  • injection decorators (5643e78)
  • jwk support (a991131)
  • provide default algorithm (1b530fe)
  • recreate rsa cert (1aafeff)
  • refactor protect decorator (5f5f92b)
  • refresh token (0aa603d)
  • remove doc upload temporarily (2a989d2)
  • remove rsa becuase of git capitalization (2097432)
  • remove unused imports (e283618)
  • rename default sid (1aec1fd)
  • request and response (5c30592)
  • request object and related code (6c49b76)
  • response implementation (5d25b07)
  • test sailfin client module and provider (a6d7377)
  • try local scope type (b4fb068)
  • try testing for token (e3453bb)
  • try without reflection (e7d97ba)
  • use RSACertificate (63ea877)
  • use sha256 (a884a1b)
  • use sha256 (d03f297)

0.1.0-beta.18 (2025-01-24)

Bug Fixes

0.1.0-beta.17 (2025-01-23)

Bug Fixes

  • add client and decorators (785e93c)

0.1.0-beta.16 (2025-01-23)

Bug Fixes

0.1.0-beta.15 (2025-01-23)

Bug Fixes

0.1.0-beta.14 (2025-01-23)

Bug Fixes

0.1.0-beta.13 (2025-01-23)

Bug Fixes

  • ignore static files (e23283d)
  • remove doc upload temporarily (2a989d2)

0.1.0-beta.12 (2025-01-23)

Bug Fixes

  • check for plain objects (12233ba)

0.1.0-beta.11 (2025-01-23)

Bug Fixes

0.1.0-beta.10 (2025-01-23)

Bug Fixes

  • request object and related code (6c49b76)

0.1.0-beta.9 (2025-01-23)

Bug Fixes

  • default logger assignment in mutex (9110a53)

0.1.0-beta.8 (2025-01-23)

Bug Fixes

  • deep merge in client config (7fe2ff9)
  • response implementation (5d25b07)

0.1.0-beta.7 (2025-01-23)

Bug Fixes

  • add some defaults and checks (97e5571)

0.1.0-beta.6 (2025-01-22)

Bug Fixes

  • handle passport session (d7ee9db)

0.1.0-beta.5 (2025-01-22)

Bug Fixes

0.1.0-beta.4 (2025-01-22)

Bug Fixes

0.1.0-beta.3 (2025-01-20)

Bug Fixes

  • provide default algorithm (1b530fe)

0.1.0-beta.2 (2025-01-20)

Bug Fixes

0.1.0-beta.1 (2025-01-20)

Features

0.0.15-beta.21 (2025-01-18)

Bug Fixes

0.0.15-beta.20 (2025-01-18)

Bug Fixes

  • check for cookie in session (384af83)

0.0.15-beta.19 (2025-01-18)

Bug Fixes

0.0.15-beta.18 (2025-01-18)

Bug Fixes

0.0.15-beta.17 (2025-01-18)

Bug Fixes

  • add logout decorator and debug logs (1e861b2)

0.0.15-beta.16 (2025-01-17)

Bug Fixes

  • add Reflect define Metada (3016e67)
  • add Reflect define Metada (2a13137)

0.0.15-beta.15 (2025-01-17)

Bug Fixes

0.0.15-beta.14 (2025-01-17)

Bug Fixes

  • add fallback for session setting (9ab570e)

0.0.15-beta.13 (2025-01-17)

Bug Fixes

0.0.15-beta.12 (2025-01-17)

Bug Fixes

  • refactor protect decorator (5f5f92b)

0.0.15-beta.11 (2025-01-17)

Bug Fixes

  • add fallbacks for session management (3ead712)

0.0.15-beta.10 (2025-01-17)

Bug Fixes

0.0.15-beta.9 (2025-01-17)

Bug Fixes

  • add silent-login flag for login decorator (dbb4a8d)

0.0.15-beta.8 (2025-01-17)

Bug Fixes

0.0.15-beta.7 (2025-01-17)

Bug Fixes

0.0.15-beta.6 (2025-01-17)

Bug Fixes

  • DynamicModule, Provider, and usage in SailfinModule (3bf0ff4)

0.0.15-beta.5 (2025-01-17)

Bug Fixes

  • inclue missing nestjs compatible properties (688eef1)

0.0.15-beta.4 (2025-01-17)

Bug Fixes

  • create provider and dynamic module (ecb1ba3)

0.0.15-beta.3 (2025-01-17)

Bug Fixes

  • export the SailfinClientModule (4580f4e)

0.0.15-beta.2 (2025-01-17)

Bug Fixes

0.0.15-beta.1 (2025-01-17)

Bug Fixes

  • test sailfin client module and provider (a6d7377)

0.0.14-beta.8 (2025-01-17)

Bug Fixes

  • test sailfin client module and provider (a6d7377)

    0.0.14 (2025-01-17)

Bug Fixes

  • call original controller method if redirect uri isnt provided (adaa05a)
  • check for session sessting (85f67ef)
  • check headers being sent before redirect (3729dd8)
  • checks for plain objects (ebaaf09)
  • decorator to check for session type (2dc3298)
  • handle plain objects (fe117f4)
  • remove duplicate redirect (3cec552)
  • use custom response and request (b7b2369)

    0.0.14-beta.7 (2025-01-17)

Bug Fixes

  • call original controller method if redirect uri isnt provided (adaa05a)

0.0.14-beta.6 (2025-01-17)

Bug Fixes

  • check headers being sent before redirect (3729dd8)
  • remove duplicate redirect (3cec552)

0.0.14-beta.5 (2025-01-17)

Bug Fixes

  • decorator to check for session type (2dc3298)

0.0.14-beta.4 (2025-01-16)

Bug Fixes

  • check for session sessting (85f67ef)

0.0.14-beta.3 (2025-01-16)

Bug Fixes

  • checks for plain objects (ebaaf09)

0.0.14-beta.2 (2025-01-16)

Bug Fixes

0.0.14-beta.1 (2025-01-16)

Bug Fixes

  • use custom response and request (b7b2369)

0.0.13-beta.7 (2025-01-16)

Bug Fixes

0.0.13-beta.6 (2025-01-16)

Bug Fixes

  • testing handle queue entry (f237ba9)

0.0.13-beta.5 (2025-01-16)

Bug Fixes

  • add additional mutex tests (1c2ed88)

0.0.13-beta.4 (2025-01-15)

Bug Fixes

0.0.13-beta.3 (2025-01-15)

Bug Fixes

  • interface for deadlocks (b0c2097)

0.0.13-beta.2 (2025-01-15)

Bug Fixes

0.0.13-beta.1 (2025-01-15)

Bug Fixes

0.0.12-beta.14 (2025-01-15)

Bug Fixes

  • Mutex enhancements via decorators (4536de2)

    0.0.12 (2025-01-14)

  • add other express like functionality (c6e793e)

  • add testing for cookie header append (a2ca435)
  • coverage (04a8523)
  • csrf token checking (27d1ecc)
  • debug logs (e68c581)
  • no need to include prompt (39b3ad0)
  • parse express in callback (c690308)
  • pass config into cookies (2481cd2)
  • patch for express (9bc20a6)
  • README doc updates for decorator and middleware support (0bf45ff)
  • retrun correct bools (1eb1fcc)
  • session handling (9f0a283)
  • use cookie util to set header (8801bf5)

0.0.12-beta.13 (2025-01-14)

Bug Fixes

  • README doc updates for decorator and middleware support (0bf45ff)

0.0.12-beta.12 (2025-01-14)

Bug Fixes

0.0.12-beta.11 (2025-01-14)

Bug Fixes

  • parse express in callback (c690308)

0.0.12-beta.10 (2025-01-14)

Bug Fixes

  • no need to include prompt (39b3ad0)

0.0.12-beta.9 (2025-01-14)

Bug Fixes

0.0.12-beta.8 (2025-01-14)

Bug Fixes

  • add other express like functionality (c6e793e)

0.0.12-beta.7 (2025-01-14)

Bug Fixes

0.0.12-beta.6 (2025-01-14)

Bug Fixes

  • use cookie util to set header (8801bf5)

0.0.12-beta.5 (2025-01-13)

Bug Fixes

0.0.12-beta.4 (2025-01-13)

Bug Fixes

  • pass config into cookies (2481cd2)

0.0.12-beta.3 (2025-01-13)

Bug Fixes

  • add testing for cookie header append (a2ca435)

0.0.12-beta.2 (2025-01-13)

Bug Fixes

0.0.12-beta.1 (2025-01-13)

Bug Fixes

0.0.11-beta.12 (2025-01-13)

Bug Fixes

Bug Fixes

0.0.11-beta.11 (2025-01-04)

Bug Fixes

0.0.11-beta.10 (2025-01-04)

Bug Fixes

  • remove unused state deletion (c511e0f)

0.0.11-beta.9 (2025-01-04)

Bug Fixes

  • instantiate session before adding user (d38bbd8)

0.0.11-beta.8 (2025-01-04)

Bug Fixes

0.0.11-beta.7 (2025-01-04)

Bug Fixes

0.0.11-beta.6 (2025-01-04)

Bug Fixes

  • session state and code storage (979d1a9)

0.0.11-beta.5 (2025-01-04)

Bug Fixes

0.0.11-beta.4 (2025-01-04)

Bug Fixes

0.0.11-beta.3 (2025-01-04)

Bug Fixes

0.0.11-beta.2 (2025-01-04)

Bug Fixes

0.0.11-beta.1 (2025-01-04)

Bug Fixes

  • token authentication methods needed (6a053d1)

0.0.10-beta.10 (2025-01-04)

Bug Fixes

  • token authentication methods needed (6a053d1)

0.0.10 (2025-01-03)

Bug Fixes

  • add error handling for middleware (17998cd)
  • change to claims instead of scopes (0b90bc6)
  • code smells (0536fde)
  • decorators testing (0621d72)
  • export oidc login and callback (335b3ff)
  • file name (4eedaa4)
  • headers as plain object (2deca91)
  • metadata manager initialization and login/callback decorators (9b2256c)
  • middleware handling (0af7430)
  • optional logger (b82e53b)
  • remove redundant interface (7fac0a8)
  • work on claims (8fe05d1)
  • work on session state (6f7c95b)

0.0.10-beta.9 (2025-01-03)

Bug Fixes

  • metadata manager initialization and login/callback decorators (9b2256c)

0.0.10-beta.8 (2025-01-03)

Bug Fixes

0.0.10-beta.7 (2025-01-03)

Bug Fixes

  • export oidc login and callback (335b3ff)

0.0.10-beta.6 (2025-01-03)

Bug Fixes

  • headers as plain object (2deca91)

0.0.10-beta.5 (2025-01-03)

Bug Fixes

0.0.10-beta.4 (2025-01-02)

Bug Fixes

  • add error handling for middleware (17998cd)

0.0.10-beta.3 (2025-01-02)

Bug Fixes

  • change to claims instead of scopes (0b90bc6)

0.0.10-beta.2 (2025-01-02)

Bug Fixes

0.0.10-beta.1 (2025-01-02)

Bug Fixes

0.0.9-beta.4 (2024-12-28)

Bug Fixes

0.0.9-beta.3 (2024-12-27)

Bug Fixes

0.0.9-beta.2 (2024-12-27)

Bug Fixes

0.0.9-beta.1 (2024-12-27)

Bug Fixes

0.0.8-beta.2 (2024-12-27)

Bug Fixes

Bug Fixes

0.0.8-beta.1 (2024-12-27)

Bug Fixes

0.0.7-beta.2 (2024-12-27)

Bug Fixes

0.0.7-beta.1 (2024-12-27)

Bug Fixes

  • docs deployment and readme usage error (914f9ae)

0.0.6-beta.2 (2024-12-27)

Bug Fixes

  • docs deployment and readme usage error (914f9ae)

    0.0.6 (2024-12-27)

Bug Fixes

  • case-sensitive filename for Cookie.ts (6a79239)
  • code smells and workflow branch deploy (648201d)
  • failing tests around session management (07d5320)
  • remove unused session util (e02a3f3)
  • script for typedocs (db0f0a5)
  • session management and testing (b04b434)
  • split out cookie utilities (cb6d742)

0.0.6-beta.1 (2024-12-27)

Bug Fixes

  • case-sensitive filename for Cookie.ts (6a79239)
  • code smells and workflow branch deploy (648201d)
  • failing tests around session management (07d5320)
  • remove unused session util (e02a3f3)
  • script for typedocs (db0f0a5)
  • session management and testing (b04b434)
  • split out cookie utilities (cb6d742)

0.0.5-beta.10 (2024-12-26)

Bug Fixes

  • code smells and workflow branch deploy (648201d)

0.0.5-beta.9 (2024-12-26)

Bug Fixes

  • case-sensitive filename for Cookie.ts (6a79239)
  • failing tests around session management (07d5320)
  • remove unused session util (e02a3f3)
  • script for typedocs (db0f0a5)
  • session management and testing (b04b434)

    0.0.5 (2024-12-24)

Bug Fixes

0.0.5-beta.8 (2024-12-24)

Bug Fixes

0.0.5-beta.7 (2024-12-24)

Bug Fixes

0.0.5-beta.6 (2024-12-24)

Bug Fixes

0.0.5-beta.5 (2024-12-24)

Bug Fixes

0.0.5-beta.4 (2024-12-24)

Bug Fixes

  • more appropriate issuer discovery method (a6e83ad)

0.0.5-beta.3 (2024-12-24)

Bug Fixes

0.0.5-beta.2 (2024-12-24)

Bug Fixes

0.0.5-beta.1 (2024-12-23)

Bug Fixes

  • code coverage in auth client (697ee37)

0.0.4-beta.2 (2024-12-23)

Bug Fixes

  • code coverage in auth client (697ee37)

Bug Fixes

0.0.4-beta.1 (2024-12-22)

Bug Fixes

0.0.3-beta.3 (2024-12-22)

Bug Fixes

0.0.3-beta.2 (2024-12-21)

Bug Fixes

0.0.3-beta.1 (2024-12-20)

Bug Fixes

  • add coverage and fix jwks client (fdff5e8)
  • add tests for coverage (15d1451)
  • additional comments and coverage (d57c237)
  • expanded config options (904fe67)
  • increase test coverage (3722f8a)

0.0.2-beta.6 (2024-12-20)

Bug Fixes

  • additional comments and coverage (d57c237)

0.0.2-beta.5 (2024-12-20)

Bug Fixes

  • add coverage and fix jwks client (fdff5e8)

0.0.2-beta.4 (2024-12-20)

Bug Fixes

0.0.2-beta.3 (2024-12-20)

Bug Fixes

0.0.2-beta.2 (2024-12-19)

Bug Fixes

Bug Fixes