Skip to content

Commit

Permalink
Renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
marklise committed Oct 7, 2024
1 parent 225537f commit e156bef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
4 changes: 2 additions & 2 deletions handlers/authorizer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ const { DynamoDBClient } = require('@aws-sdk/client-dynamodb');
const jwkToPem = require('jwk-to-pem');
const crypto = require('crypto');
const awsjwtverify = require('aws-jwt-verify');
const verifier = CognitoJwtVerifier.create({
userPoolId: "",
const verifier = awsjwtverify.create({
userPoolId: "ca-central-1_nXF7h0SwT",
tokenUse: "access",
clientId: process.env.COGNITO_APP_CLIENT_ID,
});
Expand Down
7 changes: 1 addition & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,7 @@
"description": "Reserve Rec API System",
"dependencies": {
"@aws-sdk/util-dynamodb": "^3.540.0",
"@opensearch-project/opensearch": "^2.11.0",
"aws-jwt-verify": "^4.0.1",
"axios": "^1.7.7",
"jsonwebtoken": "^9.0.2",
"jwk-to-pem": "^2.0.6",
"winston": "^3.13.1"
"@opensearch-project/opensearch": "^2.11.0"
},
"devDependencies": {
"@aws-sdk/client-dynamodb": "^3.649.0",
Expand Down

0 comments on commit e156bef

Please sign in to comment.