pomerium/pkg
Kenneth Jenkins 418ee79e1a
authenticate: rework session ID token handling (#5178)
Currently, the Session proto id_token field is populated with Pomerium
session data during initial login, but with IdP ID token data after an
IdP session refresh.

Instead, store only IdP ID token data in this field.

Update the existing SetRawIDToken method to populate the structured data
fields based on the contents of the raw ID token. Remove the other code
that sets these fields (in the authenticateflow package and in
manager.sessionUnmarshaler).

Add a test for the identity manager, exercising the combined effect of
session claims unmarshaling and SetRawIDToken(), to verify that the
combined behavior is preserved unchanged.
2024-07-29 12:43:50 -07:00
..
cmd/pomerium core/lint: upgrade golangci-lint, replace interface{} with any (#5099) 2024-05-02 14:33:52 -06:00
contextutil core/lint: upgrade golangci-lint, replace interface{} with any (#5099) 2024-05-02 14:33:52 -06:00
counter metrics: add linear probabilistic counter (#4776) 2023-12-04 08:51:41 -05:00
cryptutil core/lint: upgrade golangci-lint, replace interface{} with any (#5099) 2024-05-02 14:33:52 -06:00
derivecert cryptutil: generate certificates from deriveca (#3992) 2023-02-23 08:38:56 -07:00
encoding/base58 core/ci: update linting (#4844) 2023-12-14 09:07:54 -08:00
envoy envoy: upgrade to v1.31.0 (#5183) 2024-07-23 10:06:03 -07:00
fanout core/lint: upgrade golangci-lint, replace interface{} with any (#5099) 2024-05-02 14:33:52 -06:00
grpc authenticate: rework session ID token handling (#5178) 2024-07-29 12:43:50 -07:00
grpcutil core/lint: upgrade golangci-lint, replace interface{} with any (#5099) 2024-05-02 14:33:52 -06:00
health zero: refactor telemetry and controller (#5135) 2024-06-12 21:59:25 -04:00
hpke config: no longer stub out HPKE public key fetch (#4853) 2023-12-12 09:57:58 -08:00
httputil core/lint: upgrade golangci-lint, replace interface{} with any (#5099) 2024-05-02 14:33:52 -06:00
identity authenticate: rework session ID token handling (#5178) 2024-07-29 12:43:50 -07:00
logutil protoutil: add NewAny method for deterministic serialization (#2462) 2021-08-09 17:51:57 -06:00
metrics Envoy resource monitoring & overload manager configuration (#5106) 2024-05-28 16:57:09 -04:00
netutil add metrics aggregation (#3452) 2022-06-30 10:52:45 -04:00
policy core/lint: upgrade golangci-lint, replace interface{} with any (#5099) 2024-05-02 14:33:52 -06:00
protoutil core/lint: upgrade golangci-lint, replace interface{} with any (#5099) 2024-05-02 14:33:52 -06:00
slices integration: check for profile cookies (#4847) 2023-12-12 10:07:13 -08:00
storage core/lint: upgrade golangci-lint, replace interface{} with any (#5099) 2024-05-02 14:33:52 -06:00
telemetry/requestid core/authorize: require new login when authenticate url changes (#5165) 2024-07-12 10:57:41 -06:00
webauthnutil core/lint: upgrade golangci-lint, replace interface{} with any (#5099) 2024-05-02 14:33:52 -06:00
zero zero/telemetry: add hostname and version (#5146) 2024-06-24 21:33:37 -04:00