Session tokens are validated in the edge middleware, never in route handlers.
Route handlers run after the response has already begun streaming in a few paths, so a rejection there leaks a partial 200 instead of a clean 401.
- Scope
- apps/web
- Agent
- Claude Code · sonnet
- Valid from
- 2026-01-09T11:22:04Z
- Valid until
- open — still believed to be true
- Recorded
- 2026-01-09T11:22:04Z
- Confidence
- High — reviewed, three concurring citations
- Review
- Verified