Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion packages/core/src/auth/sso/clients.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ import { StandardRetryStrategy, defaultRetryDecider } from '@smithy/middleware-r
import { AuthenticationFlow } from './model'
import { toSnakeCase } from '../../shared/utilities/textUtilities'
import { getUserAgent, withTelemetryContext } from '../../shared/telemetry/util'
import { oneSecond } from '../../shared/datetime'

export class OidcClient {
public constructor(
Expand Down Expand Up @@ -124,7 +125,9 @@ export class OidcClient {
requestHandler: {
// This field may have a bug: https://github.com/aws/aws-sdk-js-v3/issues/6271
// If the bug is real but is fixed, then we can probably remove this field and just have no timeout by default
requestTimeout: 5000,
//
// Also, we bump this higher due to ticket V1761315147, so that SSO does not timeout
requestTimeout: oneSecond * 12,
},
})

Expand Down
Loading