Skip to content

Multiple Header Key and Value Support #80

@cgetzen

Description

@cgetzen

Problem

We would like to migrate from static credentials to JWTs, solely using the "Authorization" header.

Solution

Static credentials support multiple header values being present. For example, the header "Authorization: invalid, valid, moreinvalid" can be configured to pass.

traefik-jwt-plugin should support the same pattern.

Alternatively, If this plugin supported checking duplicate header names instead of just the first one, it would allow transition from static keys to JWTs. For example, the request curl -H "Header: ${invalidJWT}" -H "Header: ${validJWT}" example.com would need to be accepted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions