Skip to content

Handle full oauth2 authentication flow #903

@guites

Description

@guites

The _get_security_schemes method in the OpenAPIToScanAPIConverter class currently assumes that all oauth2 authentication uses bearer tokens.

While this is true for some cases, applications that implement the full authentication flow do exist, and the convertion would generate invalid authentication for guarded endpoints.

I'm not currently sure how a full fledged oauth2 flow would work in ScanAPI, so this needs further investigation.

Reference: https://swagger.io/docs/specification/v3_0/authentication/.

Metadata

Metadata

Assignees

No one assigned
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions