Created
August 11, 2022 04:03
-
-
Save grizmio/33a03bbfdb4a8d9ace9f2a61ad7627dd to your computer and use it in GitHub Desktop.
jwt show command line
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thanks: https://prefetch.net/blog/2020/07/14/decoding-json-web-tokens-jwts-from-the-linux-command-line/ | |
jq -R 'split(".") | .[0],.[1] | @base64d | fromjson' <<< $(cat "${JWT}") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment