Skip to content

allow other authorization type to pass #82

@philloooo

Description

@philloooo

if a flask app supports multiple authorization mechanisms, eg: JWT and hmacv4, how should I use this library?
From what I see in the decorator, it raises execption as long as it finds the authorization type doesn't match what's configured.
Can you support another setting flag to allow alternative authorization type, so that the jwt_optional just silently do nothing if the type is not bearer?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions