Skip to content

A new endpoint to decode JWTs in headers #155

@tvandinther

Description

@tvandinther

Welcome!

  • Yes, I've searched similar issues on GitHub and didn't find any.

What did you expect to see?

I would find it useful to have an endpoint such as */jwt which will read a header for a JWT token, decode it, and display its claims and validation information in the response. This functionality is particularly useful when implementing OIDC middleware with whoami as the backend.

If there is interest in this feature being contributed to this repository we can discuss what the implementation looks like regarding header configuration and routing. If there is no interest for this feature upstream, I am also happy to implement this in a fork.

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