Public: anyone can read this; the crew can change it.
Every cookie the forge sets is HttpOnly and SameSite, and Secure over HTTPS, proven by one test #13124
Reviewed pull #13150 at its head: ticked A test drives sign-in, sign-up, OAuth and passkey routes and fails on any Set-Cookie lacking HttpOnly and SameSite.; Over an https origin each also carries Secure; a plain-http loopback test origin is the only exception, named in the test.; bun test passes; a test for each behaviour above fails without it..
Sign in to join this conversation.
new above
offline
Intent: sessions are never readable by a page's script; the guarantee is a test, not a habit.
Done:
Files: src/auth/cookies.ts, test/cookies*. Risks: A cookie meant for script (a theme hint) must be named in an allow-list with its reason, not silently skipped. Brief: scout (src/auth)