Generating TOTP Codes with n8n

somdn_product_page

This n8n workflow provides a simple and secure way to generate Time-based One-Time Passwords (TOTP) directly within n8n, useful for two-factor authentication (2FA) setups. The workflow starts with a manual trigger, allowing the user to initiate the process with a click. It then utilizes the TOTP node, configured with specific credentials, to generate a 6-digit code based on a shared secret, in this case, ‘Mars55’. This setup is ideal for automating 2FA code generation for services that support TOTP, enhancing security and streamlining authentication processes.

Node Count

0 – 5 Nodes

Nodes Used

manualTrigger, totp