managarten/services
Till-JS 5c688d713e fix(mana-core-auth): return real refreshToken in SSO session-to-token exchange
The sessionToToken method was incorrectly returning the session cookie
token instead of the actual refreshToken from the database. This caused
"No refresh token available" errors when users logged in via SSO
(cross-domain cookie) because the /api/v1/auth/refresh endpoint expects
the refreshToken field from the sessions table, not the cookie token.

Now the method:
- Fetches the session from database by cookie token
- Uses existing refreshToken if available
- Generates and stores a new refreshToken if missing
- Returns the actual refreshToken that works with token refresh

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 16:05:44 +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 fix(mana-core-auth): return real refreshToken in SSO session-to-token exchange 2026-02-02 16:05:44 +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: type errors in element.mana.how, mana-media, @todo/web, @calendar/web 2026-02-01 04:56:29 +01:00
mana-notify 🔧 chore(mana-notify): disable email notifications by default 2026-01-30 16:06:24 +01:00
mana-search 🔧 fix(docker): update Dockerfiles for monorepo-aware builds 2026-01-29 18:39:05 +01:00
mana-stt feat(telegram-bot): add local STT support and Prometheus metrics 2026-01-27 16:51:09 +01:00
mana-tts 🌐 feat: add i18n support to 6 web apps 2026-01-29 14:48:35 +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 feat(bots): enable Redis SSO for todo-bot and calendar-bot 2026-02-02 14:51:23 +01:00
matrix-chat-bot fix(matrix-bots): update all bots for async SessionService methods 2026-02-02 15:04:30 +01:00
matrix-clock-bot fix(matrix-bots): update all bots for async SessionService methods 2026-02-02 15:04:30 +01:00
matrix-contacts-bot fix(matrix-bots): update all bots for async SessionService methods 2026-02-02 15:04:30 +01:00
matrix-mana-bot fix(matrix-bots): update all bots for async SessionService methods 2026-02-02 15:04:30 +01:00
matrix-manadeck-bot fix(matrix-bots): update all bots for async SessionService methods 2026-02-02 15:04:30 +01:00
matrix-nutriphi-bot fix(matrix-bots): update all bots for async SessionService methods 2026-02-02 15:04:30 +01:00
matrix-ollama-bot fix(matrix-bots): update all bots for async SessionService methods 2026-02-02 15:04:30 +01:00
matrix-picture-bot fix(matrix-bots): update all bots for async SessionService methods 2026-02-02 15:04:30 +01:00
matrix-planta-bot fix(matrix-bots): update all bots for async SessionService methods 2026-02-02 15:04:30 +01:00
matrix-presi-bot fix(matrix-bots): update all bots for async SessionService methods 2026-02-02 15:04:30 +01:00
matrix-project-doc-bot fix(matrix-bots): update all bots for async SessionService methods 2026-02-02 15:04:30 +01:00
matrix-questions-bot feat(bots): enable Redis SSO for todo-bot and calendar-bot 2026-02-02 14:51:23 +01:00
matrix-skilltree-bot fix(matrix-bots): update all bots for async SessionService methods 2026-02-02 15:04:30 +01:00
matrix-stats-bot feat(bots): enable Redis SSO for todo-bot and calendar-bot 2026-02-02 14:51:23 +01:00
matrix-storage-bot fix(matrix-bots): update all bots for async SessionService methods 2026-02-02 15:04:30 +01:00
matrix-todo-bot feat(bots): enable Redis SSO for todo-bot and calendar-bot 2026-02-02 14:51:23 +01:00
matrix-tts-bot fix(matrix-bots): update all bots for async SessionService methods 2026-02-02 15:04:30 +01:00
matrix-zitare-bot fix(matrix-bots): update all bots for async SessionService methods 2026-02-02 15:04:30 +01:00
ollama-metrics-proxy feat(telegram-bot): add local STT support and Prometheus metrics 2026-01-27 16:51:09 +01:00