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

Feature request: read JWT from stdin #10

Closed
manishtomar opened this issue Apr 17, 2019 · 1 comment
Closed

Feature request: read JWT from stdin #10

manishtomar opened this issue Apr 17, 2019 · 1 comment

Comments

@manishtomar
Copy link

Summary

Please provide an option like - that allows one to to decode jwt from stdin. For example following usecase will be helpful

curl https://some-login-call | jq .token | jwt decode -
@mike-engel
Copy link
Owner

Hey @manishtomar, thanks for the suggestion! I've added support for stdin on both encode and decode with 7058cb7.

It should be published to homebrew and github releases soon, and then I'll close this issue 😄

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