pomerium/pkg/grpc
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
..
audit core/grpc: fix deprecated protobuf package, remove tools (#4643) 2023-10-26 11:38:54 -06:00
cli core/grpc: fix deprecated protobuf package, remove tools (#4643) 2023-10-26 11:38:54 -06:00
config config: add runtime flags (#5050) 2024-04-04 17:51:04 -04:00
crypt core/grpc: fix deprecated protobuf package, remove tools (#4643) 2023-10-26 11:38:54 -06:00
databroker chore(deps): bump the go group with 21 updates (#5162) 2024-07-05 13:26:47 -06:00
device core/grpc: fix deprecated protobuf package, remove tools (#4643) 2023-10-26 11:38:54 -06:00
events core/grpc: fix deprecated protobuf package, remove tools (#4643) 2023-10-26 11:38:54 -06:00
identity core/authorize: require new login when authenticate url changes (#5165) 2024-07-12 10:57:41 -06:00
registry core/grpc: fix deprecated protobuf package, remove tools (#4643) 2023-10-26 11:38:54 -06:00
session authenticate: rework session ID token handling (#5178) 2024-07-29 12:43:50 -07:00
testdata grpc: rename internal/grpc to pkg/grpc (#1010) 2020-06-26 09:17:02 -06:00
user core/identity: dynamic authenticator registration (#5105) 2024-05-07 16:45:39 -06:00
client.go core/lint: upgrade golangci-lint, replace interface{} with any (#5099) 2024-05-02 14:33:52 -06:00
client_test.go core/lint: upgrade golangci-lint, replace interface{} with any (#5099) 2024-05-02 14:33:52 -06:00
docs.go grpc: rename internal/grpc to pkg/grpc (#1010) 2020-06-26 09:17:02 -06:00
health.go core/ci: update linting (#4844) 2023-12-14 09:07:54 -08:00
protoc.bash events: remove xds configuraton update (#3792) 2022-12-06 14:46:45 -05:00