Skip to content

Allow configuring jwt_issuer_format #1169

Open
@imax9000

Description

@imax9000

Is your feature request related to a problem? Please describe.

Kubernetes access guide using Pomerium JWT method describes setting jwt_issuer_format to uri (because kubelet indeed requires it to be a valid URI), but there seems to be no way to do that when Pomerium itself runs on Kubernetes.

Describe the solution you'd like

Any useful way to set this on per-route basis.

With Gateway API this can be implemented by adding a CRD for per-route configuration bits and referencing it from HTTPRoute via ExtensionRef filter (i.e., same way the route policies are provided).

Describe alternatives you've considered

Patching Pomerium to always set jwt_issuer_format if the route sets Authorization header. I'm running this in my home setup right now, but would prefer a cleaner solution.

Explain any additional use-cases

All other per-route configuration can go into the same CRD, allowing a lot of customization.

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