View Categories

Two-factor sign-in (TOTP) and device OTP

Pro

What it is #

Two-factor sign-in asks for a code from an authenticator app after the password. The same codes can be used as one-time passwords for router logins.

Example uses

  • Protect admin accounts against stolen passwords.
  • Engineers log in to routers with a code that changes every 30 seconds.

Pro Included in MikroWizard Pro. Two-factor sign-in and one-time passwords for router logins.

Compare Free and Pro · Pricing

Before you start #

  • Edition: Pro.
  • Each user needs an authenticator app on their phone (any TOTP app).
  • Keep a second administrator with two-factor, who can turn it off for someone who lost their phone.

Turn on two-factor for your own account #

  1. Click your name at the top right and choose setup otp.
  2. Click Enable TOTP and scan the QR code with an authenticator app (any TOTP app).
  3. Enter the 6-digit code to confirm.

From now on MikroWizard asks for a code after your password. To turn it off, open setup otp again and confirm with a current code.

Two-factor (TOTP) setup from the user menu
TOTP setup.

An administrator can also turn TOTP on or off for a user under Security Restrictions (fingerprint button in Users Management).

One-time passwords for router logins #

When a user logs in to a router (WinBox, SSH, WebFig) through MikroWizard’s RADIUS, they can use their current TOTP code as the password. Use OTP for device login in Security Restrictions decides this per user:

OptionEffect
System DefinedFollows Force Device OTP in Security and enforcement switches.
TOTPThe user logs in to routers with the current code from their app.
PasswordThe user logs in to routers with their normal password, even when Force Device OTP is on.

How router logins with a code work #

The user types their MikroWizard username and, as password, the 6-digit code shown in the app at that moment. MikroWizard’s RADIUS checks the code instead of the password. A code someone sees over a shoulder is useless a moment later.

Lost phone #

An administrator with Users Full opens Security Restrictions for the user and turns TOTP off. The user signs in with their password and sets up TOTP again. If no administrator can sign in, see Forgot the admin password.

Common problems #

ProblemCause and fix
Codes are always wrongThe phone’s clock is off. Turn on automatic time on the phone.
Router login with the code failsThe user’s Use OTP for device login is Password, or System Defined with Force Device OTP off.
Router login with the password failsThe user must use the code: TOTP, or System Defined with Force Device OTP on.

Next step #