JWT decode script

Python script which decodes a JWT.

Requirements

  • python 3.8
  • PyJWT

Usage

Reading token claim

If you want to read the token claim without validation run the script with

$ python JWTdecode.py <token>

Validate the token

If you want to validate the token (i.e. signature, audience and temporal validity) run the script with

$ python JWTdecode.py -v <token>

Further options are:

Run python JWTdecode.py -h for help page.