NestJS OIDC Provider

JSON →
library 2.1.0 ·javascript
verified Jun 5, 2026

NestJS module wrapping oidc-provider v8+, enabling ESM-only OIDC provider integration in NestJS applications. Version 2.1.0 requires NestJS >=9, oidc-provider >=8.5.1, and Node >=18. Provides decorators (@InjectOidcModule, @InjectOidcProvider), OidcModule.forRoot(), and automatic ESM detection to work around NestJS's CJS-only runtime. Key differentiator: handles the oidc-provider v8 ESM transition transparently, re-exports all types, and supports custom factory functions, proxy trust, and dynamic host routing. Ships TypeScript definitions.