oauth2-proxy/pkg/sessions/persistence
stagswtf 349d98c8a0
fix: use GetSecret() in ticket.go makeCookie
The makeCookie method in ticket.go was using t.options.Secret directly, which
meant cookie-secret-file was not being respected. Updated to use GetSecret()
which handles both cookie-secret and cookie-secret-file properly.

Also added test coverage for cookie-secret-file functionality.

Fixes #3224

Signed-off-by: stagswtf <142280349+stagswtf@users.noreply.github.com>
2025-10-28 08:27:28 +01:00
..
interfaces.go feat: readiness check (#1839) 2022-12-23 09:08:12 +00:00
manager.go feat: readiness check (#1839) 2022-12-23 09:08:12 +00:00
manager_test.go chore(deps): Updated to ginkgo v2 (#2459) 2024-07-18 22:41:02 +02:00
persistence_suite_test.go chore(deps): Updated to ginkgo v2 (#2459) 2024-07-18 22:41:02 +02:00
ticket.go fix: use GetSecret() in ticket.go makeCookie 2025-10-28 08:27:28 +01:00
ticket_test.go chore(deps): Updated to ginkgo v2 (#2459) 2024-07-18 22:41:02 +02:00