insomnia-plugin-jwtdecode

1.1.2 • Public • Published

Plugin Icon JWT decoder for Insomnia REST Client

This is a plugin for the Insomnia REST client to decode the Header or Payload part of a JWT (JSON WebToken), return the value of a claim in that part and use it as a dynamic variable.

This plugin is not for encoding,constructing,validating, ... or other usages besides decoding JWT tokens.

Decoding Usage

At the time of writing (Insomnia 2022.7.1), it is not possible to reference the JWT token from a body attribute of another request directly in the JWT Decode plugin. However, we can add the JWT token as an environment variable and reference that.

Referencing the JWT token from another request

Adding the variable empty

Adding the variable popup

Adding the variable added

License

MIT

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i insomnia-plugin-jwtdecode

    Weekly Downloads

    262

    Version

    1.1.2

    License

    MIT

    Unpacked Size

    2.16 MB

    Total Files

    9

    Last publish

    Collaborators

    • siebesysmans