Skip to content

SecurityInterceptor does not consult the GRpcErrorHandler for auth scheme selection errors #229

@jGleitz

Description

@jGleitz

For example, BearerTokenAuthSchemeSelector throws a OAuth2AuthenticationException if a bearer token is malformed. Since the error handler is not consulted, we cannot remap this exception. As a consequence, our service returns the code Unknown, although it should be Unauthorized.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAuto-generates notes

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions