managarten/services/matrix-nutriphi-bot
Till-JS ff1affb268 🩹 fix(nutriphi-bot): add automatic token refresh on JWT expiration
When the JWT token expires (15 min), the bot now automatically:
1. Detects the 401 "exp claim" error
2. Clears the expired session
3. Attempts to fetch a new token via Matrix-SSO-Link
4. Retries the failed operation with the new token

This prevents users from getting authentication errors after 15 minutes
of inactivity.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-14 11:18:19 +01:00
..
src 🩹 fix(nutriphi-bot): add automatic token refresh on JWT expiration 2026-02-14 11:18:19 +01:00
.dockerignore 🙈 chore(matrix-nutriphi-bot): add dockerignore 2026-01-28 16:13:32 +01:00
.env.example feat(matrix-bots): add voice note transcription via mana-stt 2026-01-28 16:10:20 +01:00
CLAUDE.md feat(mana-media): add centralized media storage with NutriPhi integration 2026-02-02 17:30:14 +01:00
Dockerfile fix(bots): install wget for Docker health checks 2026-02-01 17:19:08 +01:00
nest-cli.json feat(matrix-nutriphi-bot): add Matrix bot for nutrition tracking 2026-01-28 15:57:49 +01:00
package.json feat(mana-media): add centralized media storage with NutriPhi integration 2026-02-02 17:30:14 +01:00
tsconfig.build.json feat(matrix-nutriphi-bot): add Matrix bot for nutrition tracking 2026-01-28 15:57:49 +01:00
tsconfig.json feat(matrix-nutriphi-bot): add Matrix bot for nutrition tracking 2026-01-28 15:57:49 +01:00