JWT Verify Node
The JWT Verify Node is used to validate and decode a JSON Web Token (JWT) inside a DotPortion workflow. It allows you to protect APIs, verify client identity, and safely access token claims before executing sensitive logic. This node is typically used after the API Start Node and before any protected operations.What the JWT Verify Node Does
The JWT Verify Node is responsible for:- Verifying the JWT signature
- Ensuring the token has not expired
- Decoding the JWT payload
- Rejecting invalid or tampered tokens
jsonwebtoken.verify() in traditional backend systems.

Configuration Fields
Secret
The Secret defines which secret key is used to verify the token. Currently supported option:- JWT – Uses the platform-managed JWT secret
🔐 DotPortion securely manages this secret.
You don’t need to store or handle secret keys manually.
How Token Verification Works
When this node executes:- The incoming JWT is read (typically from headers)
- The token signature is verified using the selected secret
- Token expiration (
exp) is checked - If valid, the decoded payload is exposed to downstream nodes
- If invalid, workflow execution stops with an error
Input Token Source
The JWT is usually provided via the Authorization header:Output
If verification succeeds, the node outputs the decoded JWT payload. Example output:- Condition Node
- Logic Node
- Database Node
- API Response Node
Example: Protect an API
Workflow Order
- API Start Node
- Request Parameters Node (extract
Authorizationheader) - JWT Verify Node
- Condition / Logic / Database
- API Response Node