Problem
Browser-accessible bearer-token storage increases token theft impact from XSS and complicates refresh/revocation behavior.
Scope
- Use Secure, HttpOnly, SameSite cookies for session/refresh tokens.
- Add CSRF protection for state-changing requests.
- Migrate existing sessions with a bounded compatibility period.
Acceptance Criteria
Problem
Browser-accessible bearer-token storage increases token theft impact from XSS and complicates refresh/revocation behavior.
Scope
Acceptance Criteria