From 9d46d6312f396d05e71199e93319221968b80451 Mon Sep 17 00:00:00 2001 From: Navdeep Gupta Date: Mon, 8 Jan 2024 16:09:53 -0500 Subject: [PATCH] fix: yarn lock. Signed-off-by: Navdeep Gupta --- plugins/auth-backend-module-aws-alb-provider/src/helpers.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/auth-backend-module-aws-alb-provider/src/helpers.ts b/plugins/auth-backend-module-aws-alb-provider/src/helpers.ts index f19cfad353..a9ed980506 100644 --- a/plugins/auth-backend-module-aws-alb-provider/src/helpers.ts +++ b/plugins/auth-backend-module-aws-alb-provider/src/helpers.ts @@ -81,6 +81,7 @@ export const provisionKeyCache = (region: string, keyCache: NodeCache) => { region, )}.amazonaws.com/${encodeURIComponent(header.kid)}`, ).then(response => response.text()); + const keyValue = crypto.createPublicKey(keyText); keyCache.set(header.kid, keyValue.export({ format: 'pem', type: 'spki' })); return keyValue;