mirror of
https://github.com/R0m1k3/noteflow.git
synced 2026-10-15 03:07:29 +02:00
Feature: Ajout du support d'API Key pour Google Calendar
Ajout d'une troisième méthode d'authentification pour Google Calendar : - OAuth 2.0 (existant) - Service Account (existant) - API Key (nouveau) Modifications : - Interface d'administration avec sélection API Key - Champs pour configurer la clé API et l'ID du calendrier - Backend mis à jour pour gérer l'authentification par API Key - Routes calendar adaptées pour supporter le nouveau type - Affichage du statut de connexion mis à jour L'utilisateur peut maintenant : 1. Sélectionner "API externe" dans les paramètres Google Calendar 2. Entrer sa clé API Google Calendar 3. Spécifier l'ID du calendrier (ou "primary") 4. Synchroniser directement avec Google Calendar
This commit is contained in:
3 files changed
+104
-11
No files matched your search
@@ -7,10 +7,9 @@ export interface Settings {
|
||||
theme?: 'light' | 'dark' | 'auto';
|
||||
google_client_id?: string;
|
||||
google_client_secret?: string;
|
||||
google_auth_type?: 'oauth2' | 'service_account';
|
||||
google_auth_type?: 'oauth2' | 'service_account' | 'api_externe';
|
||||
google_service_account_key?: string;
|
||||
google_calendar_email?: string;
|
||||
// Legacy fields (kept for backward compatibility)
|
||||
google_calendar_api_key?: string;
|
||||
google_calendar_id?: string;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user