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:
- 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.
- QR Code: Save the QR code image and use it in the plugin. The plugin automatically extracts and populates the required details.
Notes:
- Ensure Time Synchronization: TOTP is time sensitive. Keep the host system synchronized with a reliable NTP server to avoid time drift issues.
- Validate Inputs: Make sure the Secret Key is correctly base32-encoded. Invalid inputs results in generation to failure.
Limitations:
- This plugin supports only the Secret Key and does not support the Secret Code.
- From certain types of QR codes, the required data cannot be extracted. In such cases, please try with the secret key.
Configurations
| No. | Field Name | Description |
|---|---|---|
| 1 | Step Name | Specify the unique name for the single workflow. |
| Input Tab: | ||
| 1 | Issuer | Select or specify the TOTP secret issuer. For example, Google, Microsoft and so on. The field accepts variable/static values. |
| 2 | Specify the email associated with the TOTP secret for identification. The field accepts variable/static values. | |
| 3 | Secret Key | Specify 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: | ||
| 1 | Output Field | Specify the output field to hold the generated 6 or 8-digit TOTP code. Default value: totp The field is mandatory. |