JWT Generate Node
The JWT Generate Node is used to create JSON Web Tokens (JWT) inside a DotPortion workflow. It enables authentication and authorization flows such as:- User login
- Session management
- Secured APIs
- Token-based access control
What the JWT Generate Node Does
The JWT Generate Node is responsible for:- Creating a signed JWT token
- Embedding custom payload data
- Applying token expiration
- Using a secure secret for signing
jsonwebtoken.sign() in traditional backend systems.

Configuration Fields
Payload
The Payload defines the data embedded inside the JWT. It must be a valid JSON object. You can:- Write static JSON
- Insert dynamic values using
{{ }}
Example
Secret
The Secret defines which secret key is used to sign the token. Currently supported option:- JWT – Uses the platform-managed JWT secret
🔐 DotPortion securely manages this secret for you.
No manual key handling is required.
Expires In
The Expires In field defines how long the token remains valid. This follows standard JWT expiration formats.Examples
| Value | Meaning |
|---|---|
10m | 10 minutes |
1h | 1 hour |
7d | 7 days |
Output
The JWT Generate Node outputs the generated token. Example output:- Returned using the API Response Node
- Used in downstream logic
- Stored in a database