-
-
Notifications
You must be signed in to change notification settings - Fork 309
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by sbidoul
- Loading branch information
Showing
3 changed files
with
10 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Add support for oauth2 security scheme in the Swagger UI. If your openapi | ||
specification contains a security scheme of type oauth2, the Swagger UI will | ||
display a login button in the top right corner. In order to finalize the | ||
login process, a redirect URL must be provided when initializing the Swagger | ||
UI. The Swagger UI is now initialized with a `oauth2RedirectUrl` option that | ||
references a oauth2-redirect.html file provided by the swagger-ui lib and served | ||
by the current addon. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters