managarten/apps/chat
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
..
apps feat(auth): implement cross-subdomain SSO for all web apps 2026-02-02 13:17:04 +01:00
packages/chat-types feat(chat): add model comparison feature 2026-01-27 16:57:56 +01:00
CLAUDE.md feat(chat): add all Mac Mini Ollama models to playground 2026-01-30 17:48:40 +01:00
INTEGRATION_COMPLETE.md style: auto-format codebase with Prettier 2025-11-27 18:33:16 +01:00
MANA_CORE_AUTH_INTEGRATION.md style: auto-format codebase with Prettier 2025-11-27 18:33:16 +01:00
package.json 🔧 chore: enforce monorepo best practices with automated validation 2025-12-25 17:57:00 +01:00
TESTING_GUIDE.md 🔒 security(auth): migrate to EdDSA JWT and add automated monitoring 2025-12-18 21:42:47 +01:00