From 0e208023b569e0cc57f5f054c30c4cee380b9487 Mon Sep 17 00:00:00 2001 From: bayger Date: Mon, 22 Jun 2026 13:52:09 +0200 Subject: [PATCH] fix: simplify scope encoding in authorization request --- src/http/controllers/SmtpImapOAuth2Controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/http/controllers/SmtpImapOAuth2Controller.ts b/src/http/controllers/SmtpImapOAuth2Controller.ts index 5cf9a8d..1b7b399 100644 --- a/src/http/controllers/SmtpImapOAuth2Controller.ts +++ b/src/http/controllers/SmtpImapOAuth2Controller.ts @@ -142,7 +142,7 @@ export class SmtpImapOAuth2Controller { response_type: 'code', client_id: clientId, redirect_uri: redirectUrl, - scope: encodeURIComponent(scope), + scope, access_type: 'offline', prompt: 'consent', state,