MFA (Multi-Factor Authentication) context
Summarize
Summary of MFA (Multi-Factor Authentication) context
The MFA (Multi-Factor Authentication) context in ServiceNow defines how and when MFA is enforced during the user login process. This context uses a policy to determine if users must provide a second form of authentication, enhancing security without denying access outright. It takes precedence over user or role-based MFA settings and applies exclusively to user logins—not API authentication, basic auth, or OAuth resource owner password credential grants.
Show less
Key Features
- Policy-Based Enforcement: You select a default policy that controls MFA behavior—either Step-Up MFA Policy or Step-Down MFA Policy.
- Step-Up MFA Policy: MFA is enforced only when specified policy conditions evaluate to true.
- Step-Down MFA Policy: MFA is enforced by default and bypassed only when conditions evaluate to true.
- Policy Inputs and Conditions: These tabs display the inputs and conditions of the selected policy for reference; however, policy modifications must be done on the policy record itself.
- MFA with SSO: Enabled only if the system property
glide.authenticate.mfa.with.multisso.enabledis set to true. - Policy Precedence: The MFA context policy overrides user or role-based MFA configurations.
Practical Use and Configuration
To configure the MFA context, navigate to All > Multi-factor Authentication > MFA Context. Here, you define the default policy behavior and select the specific step-up or step-down MFA policy to apply. The context record itself includes fields such as:
- Name: The static name of the MFA context (cannot be changed).
- Description: A description of the context purpose.
- Default Policy: Selects between step-up or step-down enforcement behavior.
- Step-Up/Step-Down MFA Policy: The specific policy referenced depending on the default policy choice.
Policy inputs and conditions can be reviewed on the context form but must be edited from the policy record itself. Creating new policy conditions is recommended from the policy page for best practice.
Key Outcomes
- Ensures flexible and precise control over MFA enforcement during logins based on policy conditions.
- Improves security posture by requiring second-factor authentication appropriately.
- MFA enforcement respects SSO settings when enabled via system property.
- Streamlines MFA management by centralizing enforcement logic in a policy context that overrides other configurations.
The MFA (Multi-Factor Authentication) policy context uses a policy to define how and when MFA is enforced during the login process.
MFA context record
The MFA (Multi-Factor Authentication) policy context defines whether your users must provide a second form of authentication when logging in. This context does not deny access to your instance as the post-authentication and pre-authentication policies. The policy you select in this context takes precedence over user or role-based configurations for multi-factor authentication.
To access the MFA context, navigate to .
Use the fields in the Post-authentication policy context record to define how your instance uses your policy.
- If the default policy is Step-Up MFA Policy, users will be shown with Multi-factor Authentication if policy configured in Step-Up MFA Policy evaluates to true. Policy takes precedence over the user or role based configuration.
- MFA with SSO login will only be available if glide.authenticate.mfa.with.multisso.enabled Property is set to true.
- You can navigate to the Authentication Policy record to Add or Edit the 'Policy Input(s)' to the referenced Policy field (Step-Up MFA Policy or Step-Down MFA Policy).
- MFA context policy applies only for user logins. It does not apply for API authentication, basic auth, and OAuth resource owner password credential grant.
| Field | Description |
|---|---|
| Name | Name of the policy context. This field is static and cannot be changed. |
| Description | Description of the context |
| Default Policy | Defines the default behavior of this context when evaluating the policy. Select from
the following options.
|
| Step-Up MFA Policy | The policy used for this context uses. This field appears only when the Default Policy field is set to Step-Up MFA Policy. |
| Step-Down MFA Policy | The policy used for this context uses. This field appears only when the Default Policy field is set to Step-Down MFA Policy. |
Policy inputs and conditions
The Policy Input and Policy Conditions tabs
display the inputs and conditions of the policy selected in the Step-Up MFA
Policy or Step-Down MFA Policy field. These tabs serve as a
reference, but cannot be used to change the policy inputs or conditions. To modify your policy
settings, navigate to the policy using the reference icon () next to the Step-Up MFA Policy or Step-Down MFA
Policy field.