Skip to content

Instantly share code, notes, and snippets.

@DanielCardonaRojas
Created May 2, 2018 00:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DanielCardonaRojas/b2f6bbe3f7acfa91b34b50d53c8c6229 to your computer and use it in GitHub Desktop.
Save DanielCardonaRojas/b2f6bbe3f7acfa91b34b50d53c8c6229 to your computer and use it in GitHub Desktop.
Decode Jwt from command line
# 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