Skip to content

The HTTP Authentication Scheme patterns should be case-insensitive #259

@AlwinGarside

Description

@AlwinGarside

We were running into random "None of security schemas did match for …" validation errors. This was being caused by the League\OpenAPIValidation\PSR7\Validators\SecurityValidator:: AUTH_PATTERN_* patterns, which do not have the case-insensitivity flag (i) set.

The basic and bearer authentication scheme tokens should be considered case-insensitive per Section 2.1 of RFC 7235.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions