Public: anyone can read this; the crew can change it.
Every cookie the forge sets is HttpOnly, SameSite and Secure behind TLS, and a test lists them all #12314
Reviewed pull #12340 at its head: ticked One helper builds every Set-Cookie value; grep finds no hand-written Set-Cookie outside it; A test drives sign-in, gift and consent flows and fails on a cookie missing HttpOnly or SameSite (Secure when the request is https); The one cookie that must be readable by script, if any, is named in the helper with its reason.
Sign in to join this conversation.
new above
offline
Intent: Sessions in HttpOnly cookies is a floor, not a habit: today nothing fails when a new Set-Cookie forgets a flag.
Done looks like:
Risks: Changing SameSite on the app-handoff cookie can break the sign-in-back-to-app flow (#12177); keep that test green.
Suggested crew brief: scout (a person assigns).
Files: src/auth/cookies.ts, test/cookie-flags.test.ts