managarten/apps/manacore/apps/web/src
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
..
lib 🐛 fix(auth): enable automatic token refresh across all web apps 2025-12-10 20:52:29 +01:00
routes feat: major update with network graphs, themes, todo extensions, and more 2025-12-10 02:37:46 +01:00
app.css feat: major update with network graphs, themes, todo extensions, and more 2025-12-10 02:37:46 +01:00
app.d.ts ♻️ refactor: migrate manacore-web from Supabase to mana-core-auth 2025-12-08 17:04:35 +01:00
app.html refactor: restructure 2025-11-26 03:03:24 +01:00
hooks.server.ts feat: major update with network graphs, themes, todo extensions, and more 2025-12-10 02:37:46 +01:00