Description
Replace stateless logout with rotating refresh sessions, reuse detection, and revocation.
File Location
Session service, auth routes/controllers/middleware, and tests
Design Reference
API Roadmap Phase 1: Implement Refresh Rotation and Logout API.
Dependencies
- Status: Blocked
- Blocked by:
Feature: Add Auth Token and Session Persistence Models; Feature: Standardize API Contracts Pagination and Versioning
- Blocks:
Feature: Expose Session and Device Management API; Feature: Harden Authentication and Account Security Policy
Tasks
Acceptance Criteria
- Refresh rotates once per valid use
- Replay triggers documented family revocation
- Logout prevents targeted refresh
- Transport is documented and tested
- OpenAPI passes
Verification Evidence
Difficulty
Advanced
Description
Replace stateless logout with rotating refresh sessions, reuse detection, and revocation.
File Location
Session service, auth routes/controllers/middleware, and tests
Design Reference
API Roadmap Phase 1: Implement Refresh Rotation and Logout API.
Dependencies
Feature: Add Auth Token and Session Persistence Models;Feature: Standardize API Contracts Pagination and VersioningFeature: Expose Session and Device Management API;Feature: Harden Authentication and Account Security PolicyTasks
Acceptance Criteria
Verification Evidence
Difficulty
Advanced