ContainerImage.Pinniped/pkg/oidcclient
Matt Moyer 01b6bf7850
Tweak timeouts in oidcclient package.
- The overall timeout for logins is increased to 90 minutes.
- The timeout for token refresh is increased from 30 seconds to 60 seconds to be a bit more tolerant of extremely slow networks.
- A new, matching timeout of 60 seconds has been added for the OIDC discovery, auth code exchange, and RFC8693 token exchange operations.

The new code uses the `http.Client.Timeout` field rather than managing contexts on individual requests. This is easier because the OIDC package stores a context at creation time and tries to use it later when performing key refresh operations.

Signed-off-by: Matt Moyer <moyerm@vmware.com>
2020-12-16 13:47:08 -06:00
..
filesession Add validated ID token claims to the oidctypes.Token structure. 2020-12-04 15:18:41 -06:00
nonce Move ./internal/oidcclient to ./pkg/oidcclient. 2020-11-17 14:53:32 -06:00
oidctypes Add validated ID token claims to the oidctypes.Token structure. 2020-12-04 15:18:41 -06:00
pkce Move ./internal/oidcclient to ./pkg/oidcclient. 2020-11-17 14:53:32 -06:00
state Move ./internal/oidcclient to ./pkg/oidcclient. 2020-11-17 14:53:32 -06:00
login_test.go Fix bug in handling response content-type in oidcclient. 2020-12-10 10:12:56 -06:00
login.go Tweak timeouts in oidcclient package. 2020-12-16 13:47:08 -06:00