mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-30 15:55:26 +02:00
Update:Passport openid-client request timeout set to 10s (default was 3.5s) #2669
This commit is contained in:
parent
3a99cc56b7
commit
def2988e12
1 changed files with 3 additions and 0 deletions
|
@ -76,6 +76,9 @@ class Auth {
|
|||
return
|
||||
}
|
||||
|
||||
// Custom req timeout see: https://github.com/panva/node-openid-client/blob/main/docs/README.md#customizing
|
||||
OpenIDClient.custom.setHttpOptionsDefaults({ timeout: 10000 })
|
||||
|
||||
const openIdIssuerClient = new OpenIDClient.Issuer({
|
||||
issuer: global.ServerSettings.authOpenIDIssuerURL,
|
||||
authorization_endpoint: global.ServerSettings.authOpenIDAuthorizationURL,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue