zitadel-oidc/pkg/client
Mark Laing 6e7ee79a68
pkg/client: Add integration tests for request aware cookie handling.
Adds a new type `cookieSpec` which is accepted as an argument to
`RunAuthorizationCodeFlow`. `TestRelyingPartySession` now runs with
`wrapServer` true/false and with two cookie handlers, one static and one
request aware.

The request aware handler extracts encryption keys from a secret using a
salt from a "login_id" cookie.

Signed-off-by: Mark Laing <mark.laing@canonical.com>
2025-06-06 09:45:46 +01:00
..
profile feat(deps): update go-jose to v4 (#588) 2024-04-11 18:13:30 +03:00
rp pkg/client/rp: Update PKCE logic to pass request if required by cookie handler. 2025-06-04 10:26:17 +01:00
rs fix test 2024-03-14 07:50:29 +01:00
tokenexchange feat(deps): update go-jose to v4 (#588) 2024-04-11 18:13:30 +03:00
client.go feat(oidc): return defined error when discovery failed (#653) 2024-09-20 12:33:28 +03:00
client_test.go feat(oidc): return defined error when discovery failed (#653) 2024-09-20 12:33:28 +03:00
errors.go fix: Fail safe, if optional endpoints are not given (#582) 2024-04-09 13:02:31 +00:00
integration_test.go pkg/client: Add integration tests for request aware cookie handling. 2025-06-06 09:45:46 +01:00
jwt_profile.go feat: add context to all client calls (#345) 2023-03-23 15:31:38 +01:00
key.go fix: migrate deprecated io/ioutil.ReadFile to os.ReadFile (#714) 2025-02-21 09:52:02 +00:00