KubeZero/scripts/decode_jwt.sh

4 lines
75 B
Bash
Raw Normal View History

#!/bin/bash
jq -R 'split(".") | .[1] | @base64d | fromjson' <<< $(cat $1)