Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OAS 3.0 Authorization #3780

Merged
merged 5 commits into from
Oct 21, 2017
Merged

OAS 3.0 Authorization #3780

merged 5 commits into from
Oct 21, 2017

Conversation

shockey
Copy link
Contributor

@shockey shockey commented Oct 19, 2017

This PR adds support for the following types of OpenAPI 3.0 security schemes:

  • HTTP Basic
  • HTTP Bearer
  • OAuth2 Authorization Code
  • OAuth2 Implicit
  • OAuth2 Password
  • OAuth2 Multiple Flows
  • apiKey Header
  • apiKey Query

TODO

  • Manually test for Swagger 2.0 authorization regressions.
  • Review multiflow approach.

Notably, this PR does not add support for apiKey Cookie. Setting cookie values within the browser, especially for cross-origin requests, is an unsolved problem in Swagger-Client (see swagger-api/swagger-js#1163).

This PR depends on a Swagger-Client PR: swagger-api/swagger-js#1159

@shockey shockey merged commit c46e18d into master Oct 21, 2017
@shockey shockey deleted the ft/oas3-authorization branch October 27, 2017 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant