Skip to content

Commit 6102718

Browse files
authored
Merge pull request #3404 from MugeSo/fix-oauth2-password-flow
Fix oauth2 password flow
2 parents 8775c63 + 5affa25 commit 6102718

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-
scopes: encodeURIComponent(auth.scopes.join(scopeSeparator))
76+
scope: encodeURIComponent(auth.scopes.join(scopeSeparator))
7777
}
7878
let query = {}
7979
let headers = {}

0 commit comments

Comments
 (0)