Plugin to support TOTP based Two Factor Authentication in OctoPrint.

A plugin to support TOTP based Two Factor Authentication in OctoPrint >= 1.11.0.

Successfully tested with

  • Google Authenticator
  • Aegis

but adheres to the TOTP standard and should work with any related apps.

To enroll your user account, open the “User Settings”, then under “2FA: TOTP” click on “Enroll” and follow the instructions.

Pictures

Screenshot of the login workflow, showing an additional prompt added to the login dialog, asking for entering a second factor, with TOTP being an option.
Screenshot of the enrollment dialog, showing a QR Code to scan with an authenticator app and asking for a first token to be entered to confirm enrollment.