From 83666f81a36af85333b555098f6ce9af1a7e5733 Mon Sep 17 00:00:00 2001 From: Tim van Oostrom Date: Fri, 3 Nov 2023 15:47:34 +0100 Subject: [PATCH] Try keyset --- src/server/helpers/app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/helpers/app.ts b/src/server/helpers/app.ts index a215796fd2..72722f59c9 100644 --- a/src/server/helpers/app.ts +++ b/src/server/helpers/app.ts @@ -213,7 +213,7 @@ const getJWKSKey = memoize(async () => { url: process.env.BFF_OIDC_JWKS_URL, responseType: 'json', }) - .then((response) => jose.importJWK(response.data.keys[0])); + .then((response) => jose.createLocalJWKSet(response.data)); } return getPublicKeyForDevelopment();