A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/swagger-api/swagger-ui/issues/2406 below:

OAuth-2.0 supported flows · Issue #2406 · swagger-api/swagger-ui · GitHub

It's not a real issue, but i would like to understand which OAuth2 flows SwaggerUI ( I am using v2.2) support and i found no real documentation about it. Can someone tell me which flows are supported?

I am in need of "Authorization Code Grant flow" where user login is required and also, i am looking for the "Client Credentials flow" (Could this be application flow in swaggerui?). Are these two supported and what do i have to put in my json spec?

Until now i got:

"securityDefinitions": { "OauthSecurity": { type": "oauth2", "authorizationUrl": "https://adfsserver/adfs/oauth2/authorize", "tokenUrl": "https://adfsserver/adfs/oauth2/token", "grantType" : "authorization_code", "flow": "accessCode", "scopes":{ "write:sessions":"kill sessions", "read:sessions":"get sessions" } } },

*note: I have used AccesCode since i thought it could be same as auth. grant code flow.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4