Skip to content

Instantly share code, notes, and snippets.

@jovemfelix
Created March 10, 2021 13:24
Show Gist options
  • Select an option

  • Save jovemfelix/2c24e07c10ae97be9635f12cd4862e90 to your computer and use it in GitHub Desktop.

Select an option

Save jovemfelix/2c24e07c10ae97be9635f12cd4862e90 to your computer and use it in GitHub Desktop.
Install mac cli to decode JWT token
brew tap mike-engel/jwt-cli
brew install jwt-cli
brew install jq
TOKEN=$(curl <TOKEN-ENDPOINT> | jq -r .token)
jwt decode $TOKEN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment