fix(common): oauth2 password flow not respecting scopes (#4940)

This commit is contained in:
Christoffer Hjalmarsson 2025-03-26 12:20:36 +01:00 committed by GitHub
parent b9ea5f7916
commit ba165bc505
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -76,7 +76,7 @@ const initPasswordOauthFlow = async ({
client_secret: clientSecret,
}),
...(scopes && {
scopes: scopes,
scope: scopes,
}),
}),
})