# 06: FastAPI: Add Authentication Module **What to build:** Implement JWT authentication for the API. - Implement JWT authentication (token generation, validation, revocation) - Add authentication middleware and dependency - Store secrets (JWT secret, refresh token key) in SOPS **Blocked by:** 5. **Status:** ready-for-agent - [ ] JWT authentication is working (login, token refresh, logout) - [ ] Authentication middleware is integrated into FastAPI - [ ] JWT secrets are stored in SOPS and loaded at runtime