Skip to content

Empty Bearer is not Rejected with 401 #247

@thehabes

Description

@thehabes

Authorization: Bearer not rejected outright, and instead ends up as a 400.

This is because of the express-oauth2-jwt-bearer package which has its own opinions about what is a 400 and what is a 401 as it pertains to the Authorization header.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions