Plug Database icon

Plug Database

Run Plug Database commands over REST or Socket.

Tools → JWT Decode

AI-generated

Summary

Decode a given JWT (JSON Web Token) string into its JSON payload without verification and store the result in a specified workflow JSON property.

Inputs

  • Tool Category — Select the category of tools to display; for JWT Decode operation, this should be set to 'Security'.
  • JWT (required) — The JWT (JSON Web Token) string to decode (unverified).
  • Output JSON Property — Name of the JSON property where the decoded JWT payload will be stored in the workflow output; default is 'jwt'.

Output shape

a single JSON object representing the decoded JWT payload

The output JSON property will contain the decoded JWT payload as an object. This operation does not verify the JWT signature; it only decodes the token's payload data.

Examples

Example 1: Decode a JWT string provided as input

Set 'JWT' parameter to the token string, optionally set 'Output JSON Property' to customize output field, and run the node to parse and output the JWT payload as JSON.

Links

Discussion