Generate QR
Generates a QR code containing TOTP (Time-based One-Time Password) setup information
Common Properties
- Name - The custom name of the node.
- Color - The custom color of the node.
- Delay Before (sec) - Waits in seconds before executing the node.
- Delay After (sec) - Waits in seconds after executing node.
- Continue On Error - Automation will continue regardless of any error. The default value is false.
If the ContinueOnError property is true, no error is caught when the project is executed, even if a Catch node is used.
Input
- Issuer - The name of the service or application issuing the TOTP token.
- Account Name - The account name or username associated with the TOTP token.
- QR Code Path - The file path where the generated QR code image will be saved.
Options
- Format - The output format for the QR code image. Choose between PNG or SVG.
Output
- Secret Key - The generated TOTP secret key used to create the QR code.
The node generates a TOTP secret key based on the provided issuer and account name, then creates a QR code image containing the TOTP setup URL. The QR code can be scanned by authenticator apps (like Google Authenticator, Authy, etc.) to automatically configure the TOTP token.
The generated QR code follows the standard TOTP URL format: otpauth://totp/Issuer:AccountName?secret=SecretKey&issuer=Issuer
Note: Both PNG and SVG formats are supported. PNG format is recommended for most use cases, while SVG provides scalable vector graphics that can be resized without quality loss. The secret key should be stored securely as it can be used to generate OTP codes.