Skip to content

Commit

Permalink
Try keyset
Browse files Browse the repository at this point in the history
  • Loading branch information
timvanoostrom committed Nov 3, 2023
1 parent 77c0cd1 commit 83666f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/helpers/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 83666f8

Please sign in to comment.