managarten/services
Till-JS feaf27dd14 feat(auth): implement cross-subdomain SSO for all web apps
Add Single Sign-On (SSO) support across all mana.how subdomains:

- Add trySSO() method to @manacore/shared-auth that exchanges session
  cookies for JWT tokens
- Add /api/v1/auth/session-to-token endpoint to mana-core-auth service
- Update all 15 web apps to try SSO during auth initialization

SSO Flow:
1. User logs in on any app (e.g., calendar.mana.how)
2. Session cookie is set with Domain=.mana.how
3. When visiting another app (e.g., todo.mana.how), it checks for
   local tokens first
4. If no local tokens, tries SSO via session cookie
5. Session cookie is exchanged for JWT tokens via new endpoint
6. User is automatically authenticated

Apps updated: calendar, chat, clock, contacts, manacore, manadeck,
nutriphi, picture, planta, presi, questions, skilltree, storage,
todo, zitare

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 13:17:04 +01:00
..
llm-playground feat(llm-playground): add model metadata system and SSD documentation 2026-02-01 00:24:34 +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(auth): implement cross-subdomain SSO for all web apps 2026-02-02 13:17:04 +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 feat(llm-playground): add model comparison feature 2026-01-31 23:30:16 +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 fix(bots): install wget for Docker health checks 2026-02-01 17:19:08 +01:00
matrix-chat-bot 🐛 fix(matrix-web): handle Matrix SSO loginToken callback 2026-02-01 15:02:47 +01:00
matrix-clock-bot fix(bots): install wget for Docker health checks 2026-02-01 17:19:08 +01:00
matrix-contacts-bot 🐛 fix(matrix-web): handle Matrix SSO loginToken callback 2026-02-01 15:02:47 +01:00
matrix-mana-bot fix(bots): install wget for Docker health checks 2026-02-01 17:19:08 +01:00
matrix-manadeck-bot 🐛 fix(matrix-web): handle Matrix SSO loginToken callback 2026-02-01 15:02:47 +01:00
matrix-nutriphi-bot fix(bots): install wget for Docker health checks 2026-02-01 17:19:08 +01:00
matrix-ollama-bot fix(bots): install wget for Docker health checks 2026-02-01 17:19:08 +01:00
matrix-picture-bot 🐛 fix(matrix-web): handle Matrix SSO loginToken callback 2026-02-01 15:02:47 +01:00
matrix-planta-bot 🐛 fix(matrix-web): handle Matrix SSO loginToken callback 2026-02-01 15:02:47 +01:00
matrix-presi-bot 🐛 fix(matrix-web): handle Matrix SSO loginToken callback 2026-02-01 15:02:47 +01:00
matrix-project-doc-bot fix(project-doc-bot): add include/exclude to tsconfig for correct dist output 2026-02-01 23:01:12 +01:00
matrix-questions-bot 🐛 fix(matrix-web): handle Matrix SSO loginToken callback 2026-02-01 15:02:47 +01:00
matrix-skilltree-bot 🐛 fix(matrix-web): handle Matrix SSO loginToken callback 2026-02-01 15:02:47 +01:00
matrix-stats-bot fix(bots): install wget for Docker health checks 2026-02-01 17:19:08 +01:00
matrix-storage-bot 🐛 fix(matrix-web): handle Matrix SSO loginToken callback 2026-02-01 15:02:47 +01:00
matrix-todo-bot fix(bots): install wget for Docker health checks 2026-02-01 17:19:08 +01:00
matrix-tts-bot fix(bots): install wget for Docker health checks 2026-02-01 17:19:08 +01:00
matrix-zitare-bot fix(bots): install wget for Docker health checks 2026-02-01 17:19:08 +01:00
ollama-metrics-proxy feat(telegram-bot): add local STT support and Prometheus metrics 2026-01-27 16:51:09 +01:00