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.
Currently only the implicit flow is supported in the UI. Password / access code flows will be added soon.
Ok we can close this issue then, thx.
Would be good if there will be a bit documentation when and how the next OAuth2 flows are supported.
@fehguy - looking forward to this feature as we're waiting to incorporate it in our project. Do you by any chance have a time frame on when this will be added?
No ETA, but we're working on it.
@webron - thanks for letting us know!
All flows should be supported in 3.X.
Most helpful comment
Currently only the implicit flow is supported in the UI. Password / access code flows will be added soon.