Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow dumping both header and body #37

Open
bsmedberg-xometry opened this issue Jan 16, 2024 · 1 comment
Open

Allow dumping both header and body #37

bsmedberg-xometry opened this issue Jan 16, 2024 · 1 comment

Comments

@bsmedberg-xometry
Copy link

I'd like to add a feature to jwtinfo that allows dumping both the header and the body simultaneously, perhaps a --full flag? @lmammino would you accept a PR for this?

Output:

{
  "header": {
    "kid": "24378254378"
  },
  "claims": {
    "iat": 12345,
    ...,
  }
}
@lmammino
Copy link
Owner

I have been thinking about something like this for a while and I think it would be a very convenient addition to the project, so I'd be super happy to receive a PR if you have the time to contribute :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants