2 min read

Token Generator

Overview

The Token Generator node handles JWT creation and verification, OTP code generation, UUID creation, and reference number generation. It supports multiple JWT algorithms (HS256, RS256) and configurable token expiration.

Category

Cryptocrypto/tokenGenerator

Operations

OperationDescription
jwt_createCreate a signed JWT with custom claims
jwt_verifyVerify a JWT signature and expiration
jwt_decodeDecode a JWT without verification
code_createGenerate an OTP code (numeric, alphanumeric, hex)
code_verifyVerify an OTP code
uuidGenerate a UUID v4
referenceGenerate a human-readable reference number

Settings

SettingTypeDefaultDescription
operationStringjwt_createWhich operation to perform
secretStringHMAC secret for HS256 JWT signing
algorithmStringHS256JWT algorithm: HS256, HS384, HS512, RS256
expiresInNumber3600Token expiration in seconds
issuerStringvantageJWT issuer claim
codeTypeStringnumericOTP format: numeric, alphanumeric, hex, uuid
codeLengthNumber6OTP code length

Inputs & Outputs