From 16eb3e2140e39ba478d96ab2d3484bb335fb900e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=20Lis=C3=A9?= Date: Thu, 3 Oct 2024 15:17:44 -0700 Subject: [PATCH] Log keys --- handlers/authorizer/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/handlers/authorizer/index.js b/handlers/authorizer/index.js index d79338e..f653cba 100644 --- a/handlers/authorizer/index.js +++ b/handlers/authorizer/index.js @@ -107,6 +107,8 @@ function validateToken(token) { // search for the kid in the downloaded public keys const keys = JSON.stringify(process.env.JWKS); + console.log("keys:", keys); + let keyIndex = -1; for (let i = 0; i < keys.length; i++) { if (kid === keys[i].kid) {