Skip to content

Commit

Permalink
Log keys
Browse files Browse the repository at this point in the history
  • Loading branch information
marklise committed Oct 3, 2024
1 parent 8e5a97c commit 16eb3e2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions handlers/authorizer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 16eb3e2

Please sign in to comment.