Skip to content

TOTP Code Node

Automation/Browser/Auth

Generates the current RFC 6238 one-time password (authenticator app code) from a base32 secret

totp_codeautomation
Inputs5
Outputs2
Security exposure7/10
Packageautomation

Ratings

Scores range from 0 to 10. Higher values mean more impact, exposure, or operational weight.

SecurityAttack surface and exposure impact.
7/10High
PrivacyPotential sensitivity of processed data.
8/10High
PerformanceRuntime or resource pressure.
10/10High
GovernancePolicy, audit, or compliance impact.
7/10High
ReliabilityOperational stability considerations.
10/10High
CostExternal or compute cost impact.
10/10High

Input Pins

5

Secret

String
secret

Base32 shared secret from the authenticator setup (spaces and dashes are ignored)

Sensitive

Digits

Integer
digits

Code length (6 to 8)

Default 6
Range 6 to 8

Period (s)

Integer
period

Seconds each code is valid

Default 30

Algorithm

String
algorithm

HMAC algorithm of the secret

Default SHA1
SHA1SHA256SHA512

Unix Time

Integer
unix_time

Time in Unix seconds to generate the code for; negative uses the current time

Default -1

Output Pins

2

Code

String
code

One-time password

Seconds Remaining

Integer
seconds_remaining

Seconds until the code changes

Node Info

Internal name
totp_code
Category
Automation/Browser/Auth
Version
1