mirror of
https://github.com/complexcaresolutions/cms.c2sgmbh.git
synced 2026-03-18 14:24:13 +00:00
Automatischer Token-Refresh für alle Social-Media-Plattformen: - TokenRefreshService: Proaktiver Refresh 7 Tage vor Ablauf - YouTube: Refresh via refresh_token - Meta (Facebook/Instagram): Long-lived Token Exchange - Rate-Limiting zwischen Accounts - Dry-Run Modus für Tests - NotificationService: Benachrichtigungen für YouTube Manager - Token läuft ab (warning) - Token abgelaufen (error) - Token-Refresh fehlgeschlagen (error) - Token erfolgreich erneuert (info) - Cron-Endpoint: /api/cron/token-refresh - GET: Automatischer Cron-Trigger - POST: Manueller Trigger mit erweiterten Optionen - HEAD: Status-Check für Monitoring - Query-Parameter: platforms, thresholdDays, includeExpired, dryRun - YtNotifications erweitert: - Neue Typen: token_expiring, token_expired, token_refresh_failed, token_refreshed - Neues Feld: relatedAccount für Social Account Relationship - Migration: 20260116_100000_add_token_notification_fields Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| JobLogger.ts | ||
| NotificationService.ts | ||
| syncAllComments.ts | ||
| TokenRefreshService.ts | ||
| UnifiedSyncService.ts | ||