Skip to content

Open Api Security Scheme is case sensitive #2252

@max-lancaster

Description

@max-lancaster

Description
We have discovered that using Bearer as the security scheme in our open api spec doesn't work but using bearer does. It appears that this is intended to be case insensitive according to the open api specification.

Steps to reproduce
Test any bearer token protected endpoint using bearer vs. Bearer as the open api document security scheme.

Expected behavior
Security scheme should be case insensitive so bearer & Bearer should both work.

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