Actions
Task #916
closedPE-1801: Document token-based auth system
Status:
Done
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
2026-05-16
Due date:
% Done:
100%
Estimated time:
Description
Document the new token-based auth system:\n- /api/auth/register - Create user, returns token\n- /api/auth/token - Get token for existing user\n- /api/auth/revoke - Revoke token (requires auth)\n- EnsurePersonaToken middleware for protected endpoints\n- Bearer token in Authorization header\n\nUsage:\n
Updated by Fredrick Amnehagen about 5 hours ago
- Status changed from To do to Done
- % Done changed from 0 to 100
Added User model, Users migration, AuthController with register/token/revoke endpoints. Token stored as SHA256 hash. Bearer token in Authorization header.
Actions