- Added JwtService (azure-jwt.service.ts) to verify tokens from multiple IdPs (Microsoft Entra ID, Amazon Cognito) - Implemented dynamic provider configuration (issuer, audience, jwksUri) - Added JwtAuthGuard for NestJS to handle JWT validation via jose library - Integrated @Public() and @IdP() decorators for route-level control - Audience () and issuer () validation logic aligned with OIDC standards - Added clock tolerance and allowed algorithm checks for security hardening
19 lines
389 B
JSON
19 lines
389 B
JSON
{
|
|
"$schema": "https://json.schemastore.org/nest-cli",
|
|
"collection": "@nestjs/schematics",
|
|
"sourceRoot": "src",
|
|
"compilerOptions": {
|
|
"deleteOutDir": true,
|
|
"plugins": [
|
|
{
|
|
"name": "@nestjs/swagger",
|
|
"options": {
|
|
"classValidatorShim": false,
|
|
"introspectComments": true,
|
|
"skipAutoHttpCode": true
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|