GreyTeardrop / jwt-tool

Simple command-line tool to manipulate JWT tokens

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jwt-tool

Travis

Simple command-line tool to manipulate JWT tokens

Usage

Interactive mode

Run jwt-tool without any parameters to start interactive console UI:

./jwt-tool

Batch command line mode

Run jwt-tool with command line parameters to trigger batch mode

./jwt-tool <command> [<parameters>]
./jwt-tool --help

The only supported command for now is create. Parameters are:

  • --to-clipboard to export generated JWT token to clipboard
  • --payload <name> <value> to add key-value pair to JWT payload/claim. Required claims are user_id and email.

About

Simple command-line tool to manipulate JWT tokens

License:MIT License


Languages

Language:Kotlin 98.3%Language:Shell 1.7%