Skip to content

Commit e60ae7b

Browse files
authored
Merge branch 'master' into bug/3414-validate-params-reworked
2 parents 666e22f + 4353e32 commit e60ae7b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

dist/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@
7676
const ui = SwaggerUIBundle({
7777
url: "http://petstore.swagger.io/v2/swagger.json",
7878
dom_id: '#swagger-ui',
79+
deepLinking: true,
7980
presets: [
8081
SwaggerUIBundle.presets.apis,
8182
SwaggerUIStandalonePreset

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)