Knowledge-based authentication \(security questions\)

concept brazil Updated Sep 10, 2026 2 min read knowledge-based-authentication.md
Raw file servicenow.com

Knowledge-based authentication (KBA) is an identification and authentication method that verifies callers by prompting them to answer preconfigured questions across conversational AI channels, such as AI voice agents. KBA can be used to identify a caller, authenticate a caller, or both within the same interaction.

KBA validates answers against records in ServiceNow AI Platform tables. For callers whose data resides outside ServiceNow, admins can configure scripts to validate answers against external systems in real-time. External data isn’t imported or stored in ServiceNow AI Platform.

How KBA works

Identification locates the caller by matching their answer to a record in ServiceNow AI Platform or an external system. For example, a caller provides their business phone number, and the system finds a matching record. Identification runs once per session and establishes who the caller is before any sensitive interaction begins.

Authentication verifies that the caller is who they claim to be. The caller answers one or more questions, and the system validates those answers against stored or externally sourced data.

KBA questions can be configured for identification, authentication, or both phases, depending on admin configuration.

Note: KBA factor isn’t supported for step-up authentication.

External source validation

When caller data is not stored in ServiceNow AI Platform, admins can configure a custom script on an answer record to validate the caller's response against an external system, such as a CRM or order management platform. The script receives the caller's answer as input and returns a match result.

  • For identification, the script returns the matched record.
  • For authentication, the script returns a true or false result.

Note: Only snc_external users can be authenticated using external source.

Script execution is limited to 15 seconds by default. For more information about configuration properties, see System Properties.

Context persistence

Starting "nowassist-aia-voice", version: "5.0.3" release, answers collected during identification and authentication are persisted as session context and are available to subsequent authentication questions. Only the caller's own answers are kept, for the current session. This means a caller does not have to repeat information they already provided. For example, if a caller provides a booking reference during identification, that value is accessible to authentication scripts without prompting the caller again.

Only the caller's own answers are kept, for the current session.

Note: Context persistence is available only for scripted answers. It doesn’t capture non-scripted answer responses.

Key strengths

  • No additional device or internet connectivity is required.
  • Familiar to most users.

Limitations

  • KBA relies on information the caller knows, which can be guessed, obtained from public records, or exposed through social engineering.
  • KBA isn’t designed as the sole verification method for sensitive operations.
  • KBA is well suited for low-risk scenarios, such as general IT support or public documentation access.

For detailed configuration instructions, see:

Keywords KBA Security questionsPersonal identification informationAuthentication methodsIdentity verificationChallenge questionsSecret answersUser authenticationSecurity Questions
Search documentation
Search document titles and file paths on the brazil branch