Skip to content

Simple utility for viewing JWT tokens in console

License

Notifications You must be signed in to change notification settings

elisey/pretty_jwt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pretty JWT

Simple utility for viewing JWT tokens in console.

Install

pip install pretty_jwt

Use

pjwt eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMj ... Y3NjA2NTU0NX0.-dX97s4EAnyoXt6G4aHBV_dZD-IzwIvW9eOZ-DNBw1A
Header:
{
    "alg": "HS256",
    "typ": "JWT"
}
Payload:
{
    "sub": "1234567890",
    "name": "John Doe",
    "iat": 1675977465,
    "exp": 1676151945,
    "nbf": 1676065545
}
Signature:
-dX97s4EAnyoXt6G4aHBV_dZD-IzwIvW9eOZ-DNBw1A

Expiration Time : 2023-02-11 22:45:45
Issued At       : 2023-02-09 22:17:45
Not Before      : 2023-02-10 22:45:45

About

Simple utility for viewing JWT tokens in console

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages