jwt

A command line tool to work with JSON Web Tokens (JWTs).

TLDR

Decode a JWT

>_ jwt decode [jwt_string]
copy

Decode a JWT as a JSON string

>_ jwt decode -j [jwt_string]
copy

Encode a JSON string to a JWT

>_ jwt encode --alg [HS256] --secret [1234567890] '[json_string]'
copy

Encode key pair payload to JWT

>_ jwt encode --alg [HS256] --secret [1234567890] -P key=value
copy

Copied to clipboard
free 100$ digital ocean credit