Multi-factor authentication (MFA) asks a user to prove identity with a second factor after the password. On a ServiceNow instance, the platform enforces MFA for standard username-and-password and LDAP logins that do not use single sign-on, and it supports several second factors. This page covers enforcement scope, enrolment, verification methods, exceptions and troubleshooting.
Why standard logins now carry a second factor
Passwords leak, get reused and get phished. A second factor reduces the risk that a stolen password alone grants access.
Enforcement is a policy, not a single switch. From the Yokohama release, a policy named Enforce MFA for non-SSO logins is active by default on upgraded instances, and the MFA context decides when it applies during login. The conditions an administrator attaches to that policy decide how far enforcement reaches.
Who is in scope and who falls outside it
Enforcement covers internal users, meaning users without the snc_external role, who sign in with local username and password or LDAP authentication. That includes web and mobile app logins. It applies to production and non-production instances, to customer instances that had no active MFA policy before the upgrade, and to developer instances on the Yokohama release or later.
Several paths sit outside the default. Single sign-on over SAML, OIDC or certificate-based authentication does not require MFA under the default secure policy. An organisation that wants a second factor on those logins can enforce it at the identity provider, or enable platform MFA for SSO by setting glide.authenticate.mfa.with.multisso.enabled to true. External users with the snc_external role are not challenged by default and can enrol from their profile.
API traffic follows different rules. Basic authentication and the OAuth resource owner password credential grant work without MFA. The OAuth authorization code grant is different: MFA runs in the login flow before the consent screen. To extend platform MFA to API authentication, set glide.authenticate.multifactor.for_integrations to true. It challenges enrolled users, and unenrolled accounts carry on as before.
Robotic process automation bots that sign in interactively must complete MFA, and an administrator can place the bot account in the MFA Exempted User Group instead.
Enrollment windows for existing and new customers
On an upgraded instance, internal users who sign in with local or LDAP authentication see a message after login inviting them to enrol. The self-enrolment period is controlled by glide.authenticate.multifactor.self_enrolment_period. It defaults to 30 days and can be raised to 90, with higher values treated as 90. Setting it to 0 means users must finish setup after their first login attempt following the upgrade.
A second property, glide.authenticate.multifactor.enforcement.max_relaxation_period, governs new internal users whose first login comes after the upgrade. The ceiling is 270 days.
New customers on the Yokohama release or later have MFA enabled by default for internal users. End users see the enrolment notice after login and on their profile, and it can be hidden with glide.authenticate.multifactor.enforcement.show_user_info_message set to false. Admins get their own notice, which stays until an admin sets glide.authenticate.multifactor.enforcement.acknowledged to true.
An instance that already has an active Adaptive authentication MFA context is not moved onto the new default secure policy. Its existing policy keeps deciding when MFA applies. Setup bypasses are limited by glide.authenticate.multifactor.setup.bypass.count, which defaults to 0 and is capped at 3.
Choosing verification methods
The base platform supports these second factors.
| Method | What the user does | What must be in place |
|---|---|---|
| Passkey | Confirms identity with the device’s biometric sensor, PIN or pattern | A device unlock method |
| Authenticator app (TOTP) | Types the six-digit code the app shows | A time-based one-time password app |
| Biometric authenticator (FIDO2) | Uses fingerprint or face recognition | Integration – Web Authentication plugin (com.snc.integration.webauthn) |
| Hardware security key (FIDO2) | Inserts or taps a physical key | Integration – Web Authentication plugin (com.snc.integration.webauthn) |
| Email one-time password | Types the six-digit code sent by email | On by default on the instance |
| SMS one-time password | Types the six-digit code sent to the mobile number on the user record | An active SMS provider integration, such as the default Twilio |
Users can enroll several factors, such as a laptop biometric plus an authenticator app as a fallback.
Authenticator apps must support time-based one-time passwords. Install the app before scanning the QR code, since the code links the app to the account without installing it. The platform tests Google Authenticator, Microsoft Authenticator, LastPass Authenticator, Authy, FreeOTP, Duo and Okta Verify. Other apps may work but are untested by the platform. The glide.authenticate.multifactor.clock_skew property widens the acceptance window (default 10 seconds, maximum 60).
Switch on glide.webauthn.enabled for passwordless FIDO2 methods, and glide.auth.mfa.ui.v2.enabled to let users enrol a factor without an authenticator app. Email codes are already on by default. The SMS factor can be limited to particular groups, roles or IP ranges with filter criteria.
Controlling the policy with the MFA context and criteria
The MFA context is at All > Multi-factor Authentication > MFA Context. Its Default Policy field offers two behaviors. Step-Up MFA Policy applies MFA when the referenced policy’s conditions evaluate to true. Step-Down MFA Policy applies MFA by default and skips it when those conditions are true. The chosen policy takes precedence over user-level and role-level settings. The context governs user logins, not basic authentication, API authentication or the OAuth password grant.
The Policy Input and Policy Condition tabs are read-only; edit the policy through its reference icon.
MFA criteria can be combined to decide who signs in with a second factor. The user-based route is the Enable Multifactor Authentication field on a user record. The role-based route is the Role-based multi-factor authentication record in the Multi-factor Criteria table, referenced as multi_factor_criteria, which lists the roles that require MFA. The adaptive authentication policy-based route evaluates signals such as IP address or group membership. It is the route ServiceNow recommends.
Exempting users, roles and trusted networks
Exceptions are added to the MFA policy rather than by switching enforcement off.
- Group exemption: confirm the context’s Step-Up policy is Enforce MFA for non-SSO logins, select the Is a member of MFA exempted group filter criteria under Policy Input, then add members to the MFA Exempted User Group record.
- Role exemption: select the Has MFA exempted role filter criteria record, which starts empty, and add roles to its condition. Several roles are combined with OR.
- Trusted network: create an IP filter criterion under Adaptive Authentication > Filter Criteria listing the IP ranges or subnets, add it to the policy inputs, and edit the condition so it evaluates to false for users on that network.
- Trusted locations: Location Filter Criteria needs the Zero Trust – Location Based Access plugin, which carries an additional subscription.
If the context points to a different policy, add the same criteria to that policy instead. Shared accounts are a security risk. Give each person an account and use web service accounts for integrations.
Remembered browsers
A Remember this browser check box on the validation screen lets a user skip repeat challenges on that browser. Four properties control it. glide.authenticate.multifactor.remember.browser.enable switches the feature on and defaults to true. glide.authenticate.multifactor.browser.fingerprint.validity sets the trust period, default 8 hours, extendable by up to 24. glide.authenticate.multifactor.remember.browser.default sets whether the box starts ticked. glide.authenticate.multifactor.remembered.browser.max.count caps the number of browsers remembered per user.
Trust rests on a browser fingerprint, so a change such as screen resolution, for example when an external monitor is connected, can trigger an early challenge.
Troubleshooting failed challenges
Start with logs. System logs sit under All > System Log > System Logs, and node logs under All > System Logs > Utilities > Node Log File Browser. Before collecting, enable glide.webauthn.debug.enabled, glide.log.default_log_debug, glide.authenticate.policy.debug and glide.authenticate.hybrid_user_tracking.debug.
- A user cannot use any second factor: reset MFA for that user, then delete old records from user_multifactor_auth, sys_user_public_credential and sys_user_multi_factor_setup so enrolment starts clean.
- An administrator is locked out: another administrator with access can reset MFA for that account. If the problem persists, contact ServiceNow Support.
- A six-digit code is rejected: codes fail when the device and instance clocks drift outside the acceptance window, so correct the device time first. For email, check the user-level notification, outbound email configuration and the sys_user record. For SMS, confirm the Twilio or other provider integration is configured and active, and that the mobile number on sys_user is correct.
- An integration account appears in the enforcement table: open Security Center > Security monitoring console > Security metrics > Authentication metrics and check the Integration Accounts without Web Service Access Only Flag card. Enable Web Service converts a genuine integration to a web service access only account. Mark as Interactive clears the entry for a person who should not be calling the API.
Enabling glide.authenticate.hybrid_user_tracking.enabled records username-and-password API sign-ins in the User Login Info table.
Frequently asked questions
Does enforcement change single sign-on?
No. SAML, OIDC and certificate-based single sign-on logins do not require MFA under the default secure policy. An organization can enforce a second factor at its identity provider instead.
Why require a second factor by default?
Multi-factor authentication protects against password-related attacks and weak passwords by requiring an additional form of verification.
Can a user enrol more than one factor?
Yes, from the profile. More than one route reduces the risk of lockout if a device is lost.
What happens to an instance that already has adaptive MFA?
The default secure policy is not enforced in that case, so the existing policy keeps deciding when MFA applies.
Can the enrolment message be hidden from end users?
Yes. Set glide.authenticate.multifactor.enforcement.show_user_info_message to false. The admin notice is separate and clears once an administrator sets the acknowledged property to true.