Skip to content

Add RemoveJwtBearerQueryStringBehavior implementation #6

@carusology

Description

@carusology

Background

As an alternative to "redacting" tokens from query strings, we can also remove them entirely. This will hide from the logs that a token was included at all, which may be more helpful than saying that it was included but we are redacting it from view.

Task

  • Add a RemoveJwtBearerQueryStringBehavior implementation of IJwtBearerQueryStringBehavior that removes the token from the query string if it is found.
  • Update QueryStringBehaviors to have a new immutable Remove property that returns this behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    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