managarten/apps/chat
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
packages/chat-types fixes 2025-12-04 00:51:40 +01:00
CLAUDE.md feat(chat,picture): add OpenRouter integration and credit system 2025-12-10 20:46:33 +01:00
INTEGRATION_COMPLETE.md style: auto-format codebase with Prettier 2025-11-27 18:33:16 +01:00
MANA_CORE_AUTH_INTEGRATION.md style: auto-format codebase with Prettier 2025-11-27 18:33:16 +01:00
package.json improve code quality 2025-12-03 23:42:37 +01:00
TESTING_GUIDE.md style: auto-format codebase with Prettier 2025-11-27 18:33:16 +01:00