managarten/apps/clock/apps
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
..
backend fix(db): use TEXT for user_id columns across entire codebase 2025-12-09 16:30:51 +01:00
landing Merge branch 'dev-1' into dev 2025-12-05 17:57:26 +01:00
web 🐛 fix(auth): enable automatic token refresh across all web apps 2025-12-10 20:52:29 +01:00