INSIGHT-MVP/packages/core-service/prisma
Thomas Reitz 28f6ba84b0 feat(core): Microsoft 365 OAuth-Integration — UserIntegration + IntegrationsModule
- Neues Prisma-Model UserIntegration (AES-256-GCM verschluesselte Tokens)
- Migration: 20260312_user_integrations
- EntraIdService: getIntegrationAuthUrl(), handleIntegrationCallback(), refreshIntegrationToken()
  — erweiterte Scopes: Mail.Read, Calendars.Read, Tasks.ReadWrite, offline_access
- IntegrationsModule mit Controller + Service:
  GET  /auth/integrations/microsoft-365          → OAuth-Flow starten
  GET  /auth/integrations/microsoft-365/callback → Token speichern
  GET  /users/me/integrations                    → Verbindungen auflisten
  DELETE /users/me/integrations/microsoft-365    → Verbindung trennen
  GET  /users/me/integrations/microsoft-365/token → Token fuer CRM-Service
- Env: AZURE_INTEGRATION_REDIRECT_URI, INTEGRATION_ENCRYPTION_KEY

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-12 22:36:03 +01:00
..
migrations feat(core): Microsoft 365 OAuth-Integration — UserIntegration + IntegrationsModule 2026-03-12 22:36:03 +01:00
core.schema.prisma feat(core): Microsoft 365 OAuth-Integration — UserIntegration + IntegrationsModule 2026-03-12 22:36:03 +01:00
seed.ts feat: adapt codebase for IP-based HTTP deployment on 172.20.10.59 2026-03-08 16:21:45 +01:00
tenant.schema.prisma feat: implement Sprint 1 Alpha - full stack with Docker, NestJS, React 2026-03-08 15:33:36 +01:00