TOTP icon

TOTP

Generate and verify Time-based One-Time Passwords (TOTP)

Generate Token

AI-generated

Summary

Generate a TOTP token using a Base32-encoded secret and optional configuration (algorithm, digits, period).

Inputs

  • Main (required) — Input items processed by the node.

Output shape

Main

Returns the generated TOTP token as the item's JSON value.

Examples

Example 1: Generate TOTP with defaults (SHA1, 6 digits, 30s period)

Provide a Base32 secret; all other parameters use defaults.

Discussion