Skip to content

OAuth-2.0 supported flows #2406

Closed
Closed
@Gobliins

Description

@Gobliins

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions