harbor run -t openthoughts/tasktrove-exp-rpt-stack-jest-v2-stack-jest-0413harbor download openthoughts/tasktrove-exp-rpt-stack-jest-v2-stack-jest-0413Task: Implement full AuthController functionality and supporting TokenService in /app
What you need to implement
GET /login
(So the test that checks res.res.text should contain this string passes.)
GET /login/:token
GET /logout
Exports an object with:
The app’s /login/:token route should:
Files to add/update (placed under /app)
This task results in a self-contained Express-based authentication flow with server-side input validation, token-based login, and a simple login page view, all wired to pass the provided tests.