diff --git a/handlers/authorizer/package.json b/handlers/authorizer/package.json index 05e36f9..6d2070d 100644 --- a/handlers/authorizer/package.json +++ b/handlers/authorizer/package.json @@ -5,6 +5,7 @@ "dependencies": { "@aws-sdk/client-dynamodb": "^3.664.0", "@aws-sdk/util-dynamodb": "^3.540.0", + "aws-jwt-verify": "^4.0.1", "crypto": "^1.0.1", "jsonwebtoken": "^9.0.2", "jwk-to-pem": "^2.0.6" diff --git a/handlers/authorizer/yarn.lock b/handlers/authorizer/yarn.lock index 423a4fd..0d0b162 100644 --- a/handlers/authorizer/yarn.lock +++ b/handlers/authorizer/yarn.lock @@ -885,6 +885,11 @@ asn1.js@^5.3.0: minimalistic-assert "^1.0.0" safer-buffer "^2.1.0" +aws-jwt-verify@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/aws-jwt-verify/-/aws-jwt-verify-4.0.1.tgz#d5f36f80f3d1cbe8ffa638347bb80daf72f6ae61" + integrity sha512-kzvi71eD3w/mCpYRUY7cz6DX4bfYihGdI2yV3FYQ2JuZZenqAqDPz0gWj0ew6vlAtdEVBNb7p+Dm2TAIxpVYMA== + bn.js@^4.0.0, bn.js@^4.11.9: version "4.12.0" resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88"