Skip to content

Commit a5193a5

Browse files
committed
Don't URI-encode scopes when posting in oauth2 password flow
1 parent 4eae9b6 commit a5193a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/plugins/auth/actions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export const authorizePassword = ( auth ) => ( { authActions } ) => {
7373
let { schema, name, username, password, passwordType, clientId, clientSecret } = auth
7474
let form = {
7575
grant_type: "password",
76-
scope: encodeURIComponent(auth.scopes.join(scopeSeparator))
76+
scope: auth.scopes.join(scopeSeparator)
7777
}
7878
let query = {}
7979
let headers = {}

0 commit comments

Comments
 (0)