From f99db37d7bf7ac04dab730b9c3f00f9a39acb00d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=20Lis=C3=A9?= Date: Mon, 13 May 2024 16:11:39 -0700 Subject: [PATCH] NOBUG: Add fetch. --- lambda/permissionUtil.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lambda/permissionUtil.js b/lambda/permissionUtil.js index 0685aac8..e7e3f82d 100644 --- a/lambda/permissionUtil.js +++ b/lambda/permissionUtil.js @@ -3,6 +3,7 @@ const jwksClient = require('jwks-rsa'); const SSO_ISSUER = process.env.SSO_ISSUER || 'https://dev.loginproxy.gov.bc.ca/auth/realms/bcparks-service-transformation'; const SSO_JWKSURI = process.env.SSO_JWKSURI || 'https://dev.loginproxy.gov.bc.ca/auth/realms/bcparks-service-transformation/protocol/openid-connect/certs'; const CF_SECRET_KEY = process.env.CF_SECRET_KEY; +const fetch = require('fetch'); const INVALID_TOKEN = { decoded: false, data: null