ContainerImage.Pinniped/pkg/oidcclient
Matt Moyer 9d3c98232b
Fix bug in handling response content-type in oidcclient.
Before this, we weren't properly parsing the `Content-Type` header. This breaks in integration with the Supervisor since it sends an extra encoding parameter like `application/json;charset=UTF-8`.

This change switches to properly parsing with the `mime.ParseMediaType` function, and adds test cases to match the supervisor behavior.

Signed-off-by: Matt Moyer <moyerm@vmware.com>
2020-12-10 10:12:56 -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 Fix bug in handling response content-type in oidcclient. 2020-12-10 10:12:56 -06:00