Skip to main content

TOTP Generator

Description

Use the step to generate Time-based One-Time Passwords (TOTP), which are essential for multi-factor authentication (MFA) or secure access. The step functions like authenticator apps and supports secure, time-sensitive authentication flows within workflows.

Prerequisites:

  1. Secret Key (Base32 encoded): You receive this key when setting up 2FA with a service—such as Google, Microsoft, or AWS—that supports authenticator apps.
  2. QR Code: Save the QR code image and use it in the plugin. The plugin automatically extracts and populates the required details.
Notes:
  1. Ensure Time Synchronization: TOTP is time sensitive. Keep the host system synchronized with a reliable NTP server to avoid time drift issues.
  2. Validate Inputs: Make sure the Secret Key is correctly base32-encoded. Invalid inputs results in generation to failure.

Limitations:

  1. This plugin supports only the Secret Key and does not support the Secret Code.
  2. From certain types of QR codes, the required data cannot be extracted. In such cases, please try with the secret key.

Configurations

No.Field NameDescription
1Step NameSpecify the unique name for the single workflow.
Input Tab:
1IssuerSelect or specify the TOTP secret issuer.
For example, Google, Microsoft and so on.
The field accepts variable/static values.
2EmailSpecify the email associated with the TOTP secret for identification.
The field accepts variable/static values.
3Secret KeySpecify or select secret key to generate TOTP.
Use one of the following modes to provide the key:
• Manual Input (static value or variable)
• Click Browse QR, to scan QR code and all the details will be auto populated for respective fields.
• Variable support.
Note:
If the checkbox Accept Value as variable/static is selected, then the password field appears as a text box and accepts static or variable values.
OR
If the checkbox Accept Value as variable/static is not selected, then the password field appears as a dropdown in which you can select a field from the previous steps.
The field is mandatory.
Output Tab:
1Output FieldSpecify the output field to hold the generated 6 or 8-digit TOTP code.
Default value: totp
The field is mandatory.