Project

General

Profile

Actions

Task #916

closed

PE-1801: Document token-based auth system

Added by Fredrick Amnehagen about 4 hours ago. Updated about 4 hours ago.

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

Actions #1

Updated by Fredrick Amnehagen about 4 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

Also available in: Atom PDF