mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-27 22:34:42 +02:00
id_token_signed_respo... should be in new Client
This commit is contained in:
parent
6c9a811472
commit
304d0f6d43
1 changed files with 3 additions and 3 deletions
|
@ -85,12 +85,12 @@ class Auth {
|
||||||
token_endpoint: global.ServerSettings.authOpenIDTokenURL,
|
token_endpoint: global.ServerSettings.authOpenIDTokenURL,
|
||||||
userinfo_endpoint: global.ServerSettings.authOpenIDUserInfoURL,
|
userinfo_endpoint: global.ServerSettings.authOpenIDUserInfoURL,
|
||||||
jwks_uri: global.ServerSettings.authOpenIDJwksURL,
|
jwks_uri: global.ServerSettings.authOpenIDJwksURL,
|
||||||
end_session_endpoint: global.ServerSettings.authOpenIDLogoutURL,
|
end_session_endpoint: global.ServerSettings.authOpenIDLogoutURL
|
||||||
id_token_signed_response_alg: global.ServerSettings.authOpenIDTokenSigningAlgorithm
|
|
||||||
}).Client
|
}).Client
|
||||||
const openIdClient = new openIdIssuerClient({
|
const openIdClient = new openIdIssuerClient({
|
||||||
client_id: global.ServerSettings.authOpenIDClientID,
|
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({
|
passport.use('openid-client', new OpenIDClient.Strategy({
|
||||||
client: openIdClient,
|
client: openIdClient,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue