ContainerImage.Pinniped/pkg/oidcclient
Matt Moyer b6580b303a
Reduce CLI callback shutdown timeout (5s -> 500ms).
I found that there are some situations with `response_mode=form_post` where Chrome will open additional speculative TCP connections. These connections will be idle so they block server shutdown until the (previously 5s) timeout. Lowering this to 500ms should be safe and makes any added latency at login much less noticeable.

More information about Chrome's TCP-level behavior here: https://bugs.chromium.org/p/chromium/issues/detail?id=116982#c5

Signed-off-by: Matt Moyer <moyerm@vmware.com>
2021-07-09 16:29:29 -05:00
..
filesession Fix missing normalization in pkg/oidcclient/filesession. 2021-04-08 14:12:34 -05:00
nonce Upgrade to github.com/coreos/go-oidc v3.0.0. 2021-01-21 12:08:14 -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 Add hidden --skip-listen flag for pinniped login oidc. 2021-07-09 12:08:44 -05:00
login.go Reduce CLI callback shutdown timeout (5s -> 500ms). 2021-07-09 16:29:29 -05:00