Files
hermes-agent/hermes_cli
Keith Ammon 7c7cd24d00 fix(auth): use SameSite=None for PKCE cookie over HTTPS to fix cross-site redirect dropping
Chromium intermittently drops SameSite=Lax cookies set on a 302 redirect
in a cross-site redirect chain (crbug 40508226). The OAuth flow sets the
PKCE cookie on /auth/login (302 → IDP), and the callback returns from the
cross-site IDP — exactly the scenario where Chromium drops the cookie,
causing 'Missing PKCE state cookie' on /auth/callback.

SameSite=None + Secure is the correct attribute for cookies that must
survive cross-site redirect delivery. Chromium processes these reliably.

Loopback HTTP (dev) stays SameSite=Lax since SameSite=None requires Secure.

Fixes #56750
2026-08-11 10:00:05 +10:00
..
2026-08-03 09:57:23 -07:00
…
2026-08-10 12:43:46 -07:00
…