Two-factor authentication (2FA) adds a code from an authenticator app to your Foreman sign-in, so a stolen password isn't enough to get into your account. You can turn it on for yourself, and admins can require it for everyone.
Before You Start
- Install an authenticator app on your phone, such as Google Authenticator, Microsoft Authenticator or 1Password.
- To require 2FA for everyone, you need the Edit Company Settings permission.
Turn On 2FA for Your Account
- Open the user menu (top right) and select My Account.
- Find Two Factor Authentication and start the setup.
- Scan the QR code with your authenticator app, then enter the code it shows to confirm.
When it's on, My Account shows Two Factor Enabled, with options to Reset Two Factor (for example, if you get a new phone) or Disable Two Factor.
Require 2FA for Everyone
- Open the user menu and select Settings.
- In Company Settings, turn on Require Two Factor, and save the section.
Users without 2FA will be asked to set it up before they can use this client.
Test It
Sign out and sign back in. After your password, you should be asked for a code from your authenticator app.
Other Sign-In Options
In My Account > Sign In Options, you can also connect your Google, Microsoft or Okta account to sign in to Foreman.
Lost Your Phone?
If you can't get a code, contact Support to reset your two-factor authentication.
Last verified: November 19, 2026