Decode

Decode a JSON Web Token (JWT).

This function card doesn't verify the signature of the JWT. Don't use this for messages from untrusted sources. Use Verify instead.

Input

Field Definition Type Required

token

The complete JSON Web Token (JWT), including the Base64-encoded header, and the payload and signature.

Text

TRUE

Output

Field Definition Type

header

The header includes the algorithm (alg) used to process the data contained in the JWT and the type (typ) of the token, usually JWT. For example:

Copy
{
"typ":"JWT",
"alg":"HS256"
}

Text

payload

Extensible outputs allow you to manually add an output field for each key that you expect to return with the payload.

You can then drag these outputs to other inputs in the flow to process the data.

Object

Related topics

Functions

Workflow elements