diff --git a/src/security/security.module.ts b/src/security/security.module.ts index 6daf34c..78459a4 100644 --- a/src/security/security.module.ts +++ b/src/security/security.module.ts @@ -72,7 +72,10 @@ export class SecurityModule { }, ]; - const exports: DynamicModule["exports"] = [JwtVerificationService]; + const exports: DynamicModule["exports"] = [ + JwtVerificationService, + SECURITY_CONFIG_INJECTION_KEY, + ]; if (options.imports) { imports.push(...options.imports);