diff --git a/dist/index.html b/dist/index.html
index f6aaf9e4..52590951 100644
--- a/dist/index.html
+++ b/dist/index.html
@@ -76,6 +76,7 @@ window.onload = function() {
const ui = SwaggerUIBundle({
url: "http://petstore.swagger.io/v2/swagger.json",
dom_id: '#swagger-ui',
+ deepLinking: true,
presets: [
SwaggerUIBundle.presets.apis,
SwaggerUIStandalonePreset
diff --git a/src/core/plugins/auth/actions.js b/src/core/plugins/auth/actions.js
index 221d80a8..772e858c 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",
- scopes: encodeURIComponent(auth.scopes.join(scopeSeparator))
+ scope: encodeURIComponent(auth.scopes.join(scopeSeparator))
}
let query = {}
let headers = {}