Description
Finish registration and login against persisted users with normalized contracts and no mock helpers.
File Location
learnault-api/src/controllers/auth.controller.ts, auth service/schemas/routes, and integration tests
Design Reference
API Roadmap Phase 1: Complete Persisted Registration and Login.
Dependencies
Tasks
Acceptance Criteria
- Persisted learners can register and log in
- Duplicate/invalid responses use stable non-enumerating codes
- Passwords never enter responses or logs
- Concurrent duplicate registration creates at most one user
- Tests and OpenAPI pass
Verification Evidence
Difficulty
Advanced
Description
Finish registration and login against persisted users with normalized contracts and no mock helpers.
File Location
learnault-api/src/controllers/auth.controller.ts, auth service/schemas/routes, and integration testsDesign Reference
API Roadmap Phase 1: Complete Persisted Registration and Login.
Dependencies
Tasks
Acceptance Criteria
Verification Evidence
Difficulty
Advanced