# Decode JWT

The **Decode JWT** node is used to decode a JSON Web Token (JWT) into its original claims by providing the secret key and a set of options. JWT is a standard for creating compact and self-contained tokens that can securely transmit information between parties.

## Options

### Type

This is the algorithm that is used to verify the JWT. It should match the algorithm that was used to encode the JWT.

### Secret

This is the connection that is used to verify the JWT. It should match the connection that was used to encode the JWT.

### Issuer

This is the expected issuer of the JWT. It should match the issuer that was used to encode the JWT.

### Audience

This is the expected audience of the JWT. It should match the audience that was used to encode the JWT.

## Output

Returns the decoded data from the JWT.

## Helpful tips

* The node will throw a 401 exception if the validation fails.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.alphi.dev/nodes/decode-jwt.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
