express-oauth2-jwt-bearer
Advanced tools
Comparing version 1.5.0 to 1.6.0
@@ -295,3 +295,3 @@ 'use strict'; | ||
}); | ||
const { payload, protectedHeader: header } = await jose.jwtVerify(jwt, getKeyFnGetter(jwksUri)); | ||
const { payload, protectedHeader: header } = await jose.jwtVerify(jwt, getKeyFnGetter(jwksUri), { clockTolerance }); | ||
await validate(payload, header, validators); | ||
@@ -298,0 +298,0 @@ return { payload, header, token: jwt }; |
{ | ||
"name": "express-oauth2-jwt-bearer", | ||
"description": "Authentication middleware for Express.js that validates JWT bearer access tokens.", | ||
"version": "1.5.0", | ||
"version": "1.6.0", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"repository": "auth0/node-oauth2-jwt-bearer", | ||
"scripts": { | ||
@@ -8,0 +9,0 @@ "test": "jest test --coverage", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
31757