managarten/apps/todo
Wuesteon 39b04e4b34 🐛 fix(auth): enable automatic token refresh across all web apps
Users were getting signed out after ~15 minutes because API clients were
reading tokens directly from localStorage without triggering the refresh
logic. The tokenManager exists with proper refresh capability but was
never being used.

Changes:
- Add getValidToken() method to auth stores in 9 web apps
- Update API clients to use authStore.getValidToken() instead of localStorage
- Token refresh now happens proactively before requests fail

Apps updated: chat, calendar, picture, zitare, contacts, todo, clock, manacore, manadeck

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-10 20:52:29 +01:00
..
apps 🐛 fix(auth): enable automatic token refresh across all web apps 2025-12-10 20:52:29 +01:00
docs feat(todo): add task metadata fields and mana page 2025-12-09 14:29:56 +01:00
packages/shared feat(todo): add multiple kanban boards with task editing features 2025-12-09 14:41:50 +01:00
CLAUDE.md fix(todo): use TEXT for user_id columns (Better Auth compatibility) 2025-12-09 16:24:22 +01:00
package.json feat(contacts): add import/export with Google Contacts integration 2025-12-03 15:54:31 +01:00