Commit Graph

2 Commits

Author SHA1 Message Date
Yunxiao Xu
b23fbce8d0 refactor(auth): Use user_id as JWT sub and implement get_user_by_id
Switched from username to user_id as the primary identifier in JWT tokens to better support external authentication providers. Added get_user_by_id to HistoryManager and updated API dependencies and tests to reflect these changes.
2026-02-11 16:41:27 -08:00
Yunxiao Xu
85329cffda feat(api): Enhance persistence logic and refactor codebase structure 2026-02-11 15:33:56 -08:00