Skip to content

af608/jwtdecode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

jwtdecode

Simple cli tool (for macOS) to decode JWT

Requires

The command-line JSON processor "jq"

=> brew install jq

Install

=> wget https://raw.githubusercontent.com/af608/jwtdecode/master/jwtdecode

=> chmod u+x ./jwtdecode

Use

jwtdecode eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c

{
  "alg": "HS256",
  "typ": "JWT"
}
{
  "sub": "1234567890",
  "name": "John Doe",
  "iat": 1516239022
}

About

Simple cli tool to decode JWT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages