From 41fd81bff7aaa6ed408c4313d221cfd06d88a588 Mon Sep 17 00:00:00 2001 From: Christoph Wurst <1374172+ChristophWurst@users.noreply.github.com> Date: Fri, 13 Feb 2026 08:17:10 +0100 Subject: [PATCH] fix(oauth): do not force a Microsoft 365 consent Signed-off-by: Christoph Wurst <1374172+ChristophWurst@users.noreply.github.com> --- lib/Controller/PageController.php | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/Controller/PageController.php b/lib/Controller/PageController.php index 665c0308a1..d8dbd5b5e7 100644 --- a/lib/Controller/PageController.php +++ b/lib/Controller/PageController.php @@ -272,7 +272,6 @@ public function index(): TemplateResponse { 'redirect_uri' => $this->urlGenerator->linkToRouteAbsolute('mail.microsoftIntegration.oauthRedirect'), 'response_type' => 'code', 'response_mode' => 'query', - 'prompt' => 'consent', 'state' => '_accountId_', // Replaced by frontend 'scope' => 'offline_access https://outlook.office.com/IMAP.AccessAsUser.All https://outlook.office.com/SMTP.Send', 'access_type' => 'offline',