Web UI
Enabling MFA for the Web Interface
Enabling OTP for a User
To generate an MFA OTP for a specific user, run the pycollector command line tool with the following options:
/opt/collector-core/bin/pycollector user --display-otp <username>
e.g. to generate a code for the [email protected] user account:
/opt/collector-core/bin/pycollector user --display-otp [email protected]
This will display a URL that can be used by Authentication Applications such as Authy and a barcode which can be directly scanned into the applications.
Note: Running this command will overwrite any existing MFA secret.

Adding an Account to Authy
To add the account to Authy, click the + button. Scan the barcode displayed on the terminal.
Displaying the OTP Barcode and URL
To display the barcode for adding the OTP to an Authentication app for a specific user use the following command:
/opt/collector-core/bin/pycollector user --display-otp <username>
e.g.:
/opt/collector-core/bin/pycollector user --display-otp [email protected]
This barcode can then be scanned into an authentication application such as Authy.
Removing OTP for a User
To remove the OTP requirement for a specific user, run the following command:
/opt/collector-core/bin/pycollector user --display-otp <username>
e.g.:
/opt/collector-core/bin/pycollector user --display-otp [email protected]
This will delete the OTP secret and remove the requirement for this specific user to use a OTP for authentication.
Last updated