From 304d0f6d43684b43f1db169856ba75b253267d7f Mon Sep 17 00:00:00 2001 From: basti Date: Wed, 3 Apr 2024 22:52:49 +0200 Subject: [PATCH] id_token_signed_respo... should be in new Client --- server/Auth.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/Auth.js b/server/Auth.js index f9fe6e5c..5d376fd6 100644 --- a/server/Auth.js +++ b/server/Auth.js @@ -85,12 +85,12 @@ class Auth { token_endpoint: global.ServerSettings.authOpenIDTokenURL, userinfo_endpoint: global.ServerSettings.authOpenIDUserInfoURL, jwks_uri: global.ServerSettings.authOpenIDJwksURL, - end_session_endpoint: global.ServerSettings.authOpenIDLogoutURL, - id_token_signed_response_alg: global.ServerSettings.authOpenIDTokenSigningAlgorithm + end_session_endpoint: global.ServerSettings.authOpenIDLogoutURL }).Client const openIdClient = new openIdIssuerClient({ client_id: global.ServerSettings.authOpenIDClientID, - client_secret: global.ServerSettings.authOpenIDClientSecret + client_secret: global.ServerSettings.authOpenIDClientSecret, + id_token_signed_response_alg: global.ServerSettings.authOpenIDTokenSigningAlgorithm }) passport.use('openid-client', new OpenIDClient.Strategy({ client: openIdClient,