From ba165bc505f608cbe985ab9c9ac7ff51e2cbe9d8 Mon Sep 17 00:00:00 2001 From: Christoffer Hjalmarsson Date: Wed, 26 Mar 2025 12:20:36 +0100 Subject: [PATCH] fix(common): oauth2 password flow not respecting scopes (#4940) --- packages/hoppscotch-common/src/services/oauth/flows/password.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/hoppscotch-common/src/services/oauth/flows/password.ts b/packages/hoppscotch-common/src/services/oauth/flows/password.ts index f5d12ab4..2b35f619 100644 --- a/packages/hoppscotch-common/src/services/oauth/flows/password.ts +++ b/packages/hoppscotch-common/src/services/oauth/flows/password.ts @@ -76,7 +76,7 @@ const initPasswordOauthFlow = async ({ client_secret: clientSecret, }), ...(scopes && { - scopes: scopes, + scope: scopes, }), }), })