jwt command

A useful example app. You can use this to debug your tokens on the command line. This is also a great place to look at how you might use this library.

Example usage: The following will create and sign a token, then verify it and output the original claims.

echo {\"foo\":\"bar\"} | bin/jwt -key test/sample_key -alg RS256 -sign - | bin/jwt -key test/sample_key.pub -verify -
Version
v3.2.0+incompatible (latest)
Published
Mar 8, 2018
Platform
js/wasm
Imports
9 packages
Last checked
2 days ago

Tools for package owners.