From 08e16b30067a4604b525fe0bb73ee0c4eb4d4149 Mon Sep 17 00:00:00 2001 From: Niek Rabelink Date: Tue, 8 Sep 2026 20:07:54 +0200 Subject: [PATCH] fix: vereenvoudig Microsoft OAuth scopes tot enkel consented rechten (User.Read Calendars.Read offline_access) --- includes/integrations/microsoft.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/integrations/microsoft.php b/includes/integrations/microsoft.php index f45992d..d1b5150 100644 --- a/includes/integrations/microsoft.php +++ b/includes/integrations/microsoft.php @@ -10,7 +10,7 @@ require_once __DIR__ . '/../../config/database.php'; const MS_OAUTH_AUTHORIZE_URL = 'https://login.microsoftonline.com/%s/oauth2/v2.0/authorize'; const MS_OAUTH_TOKEN_URL = 'https://login.microsoftonline.com/%s/oauth2/v2.0/token'; const MS_GRAPH_BASE_URL = 'https://graph.microsoft.com/v1.0'; -const MS_DEFAULT_SCOPES = 'offline_access openid profile email User.Read Calendars.Read'; +const MS_DEFAULT_SCOPES = 'offline_access User.Read Calendars.Read'; /** * Genereert de Microsoft OAuth2 login URL