JWT Debuging from command line

echo "$JWT" | jq -R 'split(".") | .[1] | @base64d | fromjson'

source