Created
May 2, 2018 00:07
-
-
Save DanielCardonaRojas/b2f6bbe3f7acfa91b34b50d53c8c6229 to your computer and use it in GitHub Desktop.
Decode Jwt from command line
This file contains hidden or 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
# Decode the payload | |
echo $token | cut -d '.' -f2 | base64 -D | |
# Decode the header | |
echo $token | cut -d '.' -f1 | base64 -D |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment