Skip to content

[actix-web-httpauth] Custom error response when BearerAuth extrator is used #587

@silverpill

Description

@silverpill

I'd like to specify a custom error handler for BearerAuth extractor, possibly via its Config.
This is already supported by HttpAutentication middleware (#156), but the middleware seems to be independent from the extractor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-httpauthProject: actix-web-httpauthC-improvementCategory: an improvement to existing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions