auth-backend-module-oidc-provider: increase http request timeout

Signed-off-by: Dmitry Gusev <gusevda90@gmail.com>
This commit is contained in:
Dmitry Gusev
2024-02-26 20:48:50 +03:00
parent 69fefc3511
commit 74b1dc9e15
2 changed files with 10 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-auth-backend-module-oidc-provider': patch
---
Increased HTTP request timeout used by OIDC authenticator.
@@ -15,6 +15,7 @@
*/
import {
custom,
Issuer,
ClientAuthMethod,
TokenSet,
@@ -30,6 +31,10 @@ import {
PassportOAuthPrivateInfo,
} from '@backstage/plugin-auth-node';
custom.setHttpOptionsDefaults({
timeout: 10000,
});
/**
* authentication result for the OIDC which includes the token set and user
* profile response