managarten/services
Till-JS acf4512e90 fix(session): add auto-refresh for expired JWT tokens
- Add isTokenValid() to decode JWT and check exp claim
- Refresh tokens 60 seconds before expiry (buffer)
- Auto-fetch fresh token via SSO-Link when cached token expires
- Clear invalid sessions when refresh fails
- Prevents "exp claim timestamp check failed" errors

JWT tokens from mana-core-auth expire after 15 minutes, but sessions
were cached for 7 days. Now tokens are transparently refreshed when
they expire, keeping users authenticated.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-14 12:19:08 +01:00
..
llm-playground fix(playground): add missing shared packages to Dockerfile 2026-02-02 14:55:02 +01:00
mana-api-gateway 🔧 fix(docker): update Dockerfiles for monorepo-aware builds 2026-01-29 18:39:05 +01:00
mana-core-auth feat(matrix): sync recent emojis across apps via mana-core-auth 2026-02-14 11:30:17 +01:00
mana-crawler feat(mana-crawler): add web crawler service 2026-01-29 22:00:36 +01:00
mana-image-gen fix(mana-notify): resolve BullMQ circular import issue 2026-01-29 22:58:47 +01:00
mana-llm fix(mana-llm): fix SSE double data prefix causing message parsing issues 2026-02-02 15:29:11 +01:00
mana-media 🔧 fix(mac-mini): update health checks and disable missing services 2026-02-12 13:28:55 +01:00
mana-notify 🔧 chore(mana-notify): disable email notifications by default 2026-01-30 16:06:24 +01:00
mana-search 🔧 fix(mac-mini): update health checks and disable missing services 2026-02-12 13:28:55 +01:00
mana-stt feat(auth): add API key management for STT/TTS services 2026-02-12 02:12:05 +01:00
mana-tts feat(tts): add de_kerstin female German voice and set as default 2026-02-14 12:16:58 +01:00
mana-voice-bot feat(mana-voice-bot): add German voice-to-voice assistant service 2026-02-01 02:21:13 +01:00
matrix-calendar-bot 🔒 refactor(bots): remove !login command and enforce OIDC-only auth 2026-02-14 11:26:58 +01:00
matrix-chat-bot 🔒 refactor(bots): remove !login command and enforce OIDC-only auth 2026-02-14 11:26:58 +01:00
matrix-clock-bot feat(clock-bot): add live timer progress with message editing 2026-02-14 12:07:28 +01:00
matrix-contacts-bot 🔒 refactor(bots): remove !login command and enforce OIDC-only auth 2026-02-14 11:26:58 +01:00
matrix-mana-bot 🔒 refactor(bots): remove !login command and enforce OIDC-only auth 2026-02-14 11:26:58 +01:00
matrix-manadeck-bot 🔒 refactor(bots): remove !login command and enforce OIDC-only auth 2026-02-14 11:26:58 +01:00
matrix-nutriphi-bot 🩹 fix(nutriphi-bot): use correct API field name for image analysis 2026-02-14 11:28:46 +01:00
matrix-ollama-bot 🩹 fix(matrix-bots): use authenticated media download for all bots 2026-02-14 11:04:13 +01:00
matrix-picture-bot 🔒 refactor(bots): remove !login command and enforce OIDC-only auth 2026-02-14 11:26:58 +01:00
matrix-planta-bot 🔒 refactor(bots): remove !login command and enforce OIDC-only auth 2026-02-14 11:26:58 +01:00
matrix-presi-bot 🔒 refactor(bots): remove !login command and enforce OIDC-only auth 2026-02-14 11:26:58 +01:00
matrix-project-doc-bot 🔒 refactor(bots): remove !login command and enforce OIDC-only auth 2026-02-14 11:26:58 +01:00
matrix-questions-bot 🔒 refactor(bots): remove !login command and enforce OIDC-only auth 2026-02-14 11:26:58 +01:00
matrix-skilltree-bot 🔒 refactor(bots): remove !login command and enforce OIDC-only auth 2026-02-14 11:26:58 +01:00
matrix-stats-bot fix(session): add auto-refresh for expired JWT tokens 2026-02-14 12:19:08 +01:00
matrix-storage-bot 🔒 refactor(bots): remove !login command and enforce OIDC-only auth 2026-02-14 11:26:58 +01:00
matrix-todo-bot 🔒 refactor(bots): remove !login command and enforce OIDC-only auth 2026-02-14 11:26:58 +01:00
matrix-tts-bot feat(tts): add de_kerstin female German voice and set as default 2026-02-14 12:16:58 +01:00
matrix-zitare-bot 🔒 refactor(bots): remove !login command and enforce OIDC-only auth 2026-02-14 11:26:58 +01:00
ollama-metrics-proxy feat(telegram-bot): add local STT support and Prometheus metrics 2026-01-27 16:51:09 +01:00