Skip to content

TOTP Setup

Time-based One-Time Passwords (TOTP) generate a 6-digit code that changes every 30 seconds.

AppNotes
1PasswordIntegrated with password manager
AuthyCloud backup, multi-device sync
Google AuthenticatorSimple, no account required
Microsoft AuthenticatorEnterprise-friendly
  1. Open Account Security in the web UI
  2. Click Enable MFA (or Add Method if you already have one; adding a method asks you to verify an existing one first)
  3. Choose Authenticator app
  4. Scan the QR code with your app
  5. Enter the 6-digit code to confirm. Check Trust this browser to skip the MFA prompt at sign-in on this browser
  6. Save the backup codes shown with your first method

If you can’t scan the QR code:

  1. Click Copy secret for manual entry
  2. Add a manual TOTP entry in your app using that secret

Enter the 6-digit code when prompted for MFA. You can also trust the device to reduce prompts at sign-in.

The CLI asks for the code when a command needs MFA, or you can pass it up front:

Terminal window
rack-gateway deploy -a myapp --mfa-code 123456

Each code works once: the gateway refuses a code that has already been used.

  • Verify your device time is accurate
  • Wait for the next code if a code is near expiry
  • Ensure you’re using the correct account in your app