Pretty Printing JSON Web Tokens (JWTs) on the Command Line using Ruby (3 mins read).

How to easily introspect and pretty print a signed JWT (JWS) or an encrypted JWT (JWE) on the command line using Ruby's standard library, or using the ruby-jwt external library.