managarten/apps/calendar/apps/web
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
..
src feat(auth): implement cross-subdomain SSO for all web apps 2026-02-02 13:17:04 +01:00
Dockerfile 🔧 chore(calendar-web): add shared-stores to Dockerfile 2026-01-30 16:42:54 +01:00
eslint.config.js improve code quality 2025-12-03 23:42:37 +01:00
package.json 🔧 chore(calendar-web): add shared-vite-config to devDependencies 2026-01-30 16:40:02 +01:00
svelte.config.js 🐛 fix: switch web apps to adapter-node for Docker builds 2025-12-08 16:30:04 +01:00
tsconfig.json feat(calendar): add complete calendar app with backend, web, and landing 2025-12-02 13:15:04 +01:00
vite.config.ts 🐛 fix(web-apps): fix Vite type compatibility and Svelte 5 store issues 2026-02-01 04:00:29 +01:00