From df120787ca4236c6c92b26eacf2e93379351a6ea Mon Sep 17 00:00:00 2001 From: Adrian Date: Fri, 16 Aug 2024 16:35:33 +0200 Subject: [PATCH] fix: remove scope with auth code grant (#2815) --- packages/bruno-electron/src/ipc/network/oauth2-helper.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/bruno-electron/src/ipc/network/oauth2-helper.js b/packages/bruno-electron/src/ipc/network/oauth2-helper.js index 216c3be97..7a1a5b503 100644 --- a/packages/bruno-electron/src/ipc/network/oauth2-helper.js +++ b/packages/bruno-electron/src/ipc/network/oauth2-helper.js @@ -32,9 +32,6 @@ const resolveOAuth2AuthorizationCodeAccessToken = async (request, collectionUid) client_secret: clientSecret, state: state }; - if (scope) { - data['scope'] = scope; - } if (pkce) { data['code_verifier'] = codeVerifier; }