Browse Source

Merge pull request #3156 from bodnia/fix-3128-password

#3128 make request-body type default for aouth2 password flow
bubble
Anna 7 years ago
committed by GitHub
parent
commit
8eb5461664
3 changed files with 5 additions and 5 deletions
  1. +2
    -2
      dist/swagger-ui-bundle.js
  2. +2
    -2
      dist/swagger-ui.js
  3. +1
    -1
      src/core/components/auth/oauth2.jsx

+ 2
- 2
dist/swagger-ui-bundle.js
File diff suppressed because it is too large
View File


+ 2
- 2
dist/swagger-ui.js
File diff suppressed because it is too large
View File


+ 1
- 1
src/core/components/auth/oauth2.jsx View File

@@ -141,8 +141,8 @@ export default class Oauth2 extends React.Component {
isAuthorized ? <code> { this.state.passwordType } </code> isAuthorized ? <code> { this.state.passwordType } </code>
: <Col tablet={10} desktop={10}> : <Col tablet={10} desktop={10}>
<select id="password_type" data-name="passwordType" onChange={ this.onInputChange }> <select id="password_type" data-name="passwordType" onChange={ this.onInputChange }>
<option value="basic">Basic auth</option>
<option value="request-body">Request body</option> <option value="request-body">Request body</option>
<option value="basic">Basic auth</option>
<option value="query">Query parameters</option> <option value="query">Query parameters</option>
</select> </select>
</Col> </Col>


Loading…
Cancel
Save