fix: header redirect issue in integrations.php opgelost en duidelijke tenant_id/client_id toelichting toegevoegd

This commit is contained in:
2026-09-08 15:12:56 +02:00
parent 3e41915ee0
commit 7b5b0c56f5
2 changed files with 53 additions and 17 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ $tenantId = !empty($_GET['tenant_id'])
: (!empty($savedSettings['tenant_id']) ? $savedSettings['tenant_id'] : fociz_env('MICROSOFT_TENANT_ID', 'common'));
if (empty($clientId)) {
header('Location: /integrations.php?error=missing_ms_client_id');
header('Location: /integrations.php?error=' . urlencode('Vul eerst de Application (Client) ID en het Client Secret in bij de Outlook instellingen om te koppelen met Microsoft 365.'));
exit;
}