Skip to content

Commit ee34aa7

Browse files
stolinskiclaude
andcommitted
Record Syntax Lab's 60-second session check exception
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 5cefc21 commit ee34aa7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎CONSUMING_AUTH.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ In server middleware or a server hook, for every request that needs authenticati
1818
`Cookie` header.
1919
3. Disable caching with the runtime's `cache: 'no-store'` option and a `Cache-Control: no-store`
2020
request header. Never cache the response in a CDN, shared cache, or process-global variable.
21+
One exception so far, decided 2026-11-02: Syntax Lab's GET requests reuse an answer for up to 60
22+
seconds, under a hash of the whole `Cookie` header, so a sign-out on another device can take that
23+
long to reach its reads. Its writes and realtime access still ask on every request. Any other
24+
app needs its own decision.
2125
4. Treat a `null`, malformed, or unsuccessful response as signed out.
2226
5. Copy only the allowed fields below into the framework's per-request context (`locals`, request
2327
state, or its equivalent).

0 commit comments

Comments
 (0)