Account session cookie: use the __Host- prefix #1164

Open
opened 2026-11-11 15:38:03 +00:00 by Cordy · 0 comments
Owner

Follow-up from the #1036 spec research (N7). The guest cookies use __Host- (Secure, Path=/, no Domain), but the account session cookie cairn_session has no prefix. Move it to __Host-cairn_session with a migration that accepts the old name for one session lifetime, keeping plain-http dogfoods in mind (__Host- needs Secure). Check every reader (auth middleware, the API key gate's browser signal, WOPI, the guest surface that strips it).

Follow-up from the #1036 spec research (N7). The guest cookies use `__Host-` (Secure, Path=/, no Domain), but the account session cookie `cairn_session` has no prefix. Move it to `__Host-cairn_session` with a migration that accepts the old name for one session lifetime, keeping plain-http dogfoods in mind (`__Host-` needs Secure). Check every reader (auth middleware, the API key gate's browser signal, WOPI, the guest surface that strips it).
Sign in to join this conversation.
No labels
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Cordy/Cairn#1164
No description provided.