Decodes JSON web tokens for debugging purposes.
$ jwt-decode eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
{"alg":"HS256","typ":"JWT"} {"iat":1516239022,"name":"John Doe","sub":"1234567890"}
- Download the latest version from the Releases page
- Unzip the archive and place
jwt-decode
in yourPATH
.
$ cargo build
$ cargo test
MIT License. This software is provided as-is, without warranty of any kind.