diff --git a/src/core/plugins/auth/actions.js b/src/core/plugins/auth/actions.js index 8aa71c77..7a41a398 100644 --- a/src/core/plugins/auth/actions.js +++ b/src/core/plugins/auth/actions.js @@ -73,7 +73,7 @@ export const authorizePassword = ( auth ) => ( { authActions } ) => { let { schema, name, username, password, passwordType, clientId, clientSecret } = auth let form = { grant_type: "password", - scope: encodeURIComponent(auth.scopes.join(scopeSeparator)) + scope: auth.scopes.join(scopeSeparator) } let query = {} let headers = {}