Open
Description
I'd like to add a feature to jwtinfo that allows specifying an optional JWKS URL to verify the token against.
Here's my thought about what it might look like: jwtinfo --jwks=https://mydomain.us.auth0.com/ <token>
There are a couple different ways you could handle output/validation errors:
- no stdout, print error to stderr and exit with a non-zero code
- print data to stdout even if the token is invalid, print error to stderr, exit with non-zero code
- In combination with Allow dumping both header and body #37, extend the output format of the "full" output to include extra keys including
valid: bool
andvalidationErrors: str[]
@lmammino interested in your thoughts about whether you'd accept a PR, and suggestions for shaping a reasonable CLI surface.
Metadata
Metadata
Assignees
Labels
No labels