Courseiva
Platform Features and IntegrationhardMultiple SelectObjective-mapped

Valid Authentication Methods for REST API — Basic & OAuth

Which TWO of the following are valid methods to authenticate a REST API call to ServiceNow?

Quick Answer

OAuth 2.0 is correct because it is one of the authentication methods ServiceNow supports for incoming REST API calls, alongside Basic Authentication, which sends an Authorization header containing a Base64-encoded username and password and depends on HTTPS to keep those credentials from being exposed in plaintext during transmission. The fact that a question like this asks for two valid methods reflects that ServiceNow does not lock integrations into a single authentication scheme; different integration scenarios call for different tradeoffs, and the platform is built to accommodate more than one properly supported approach rather than treating only one method as correct. Recognizing which methods actually count as valid, versus distractors that describe something ServiceNow does not natively support for this purpose, is the real skill being tested here, since exam questions in this area often mix genuine authentication mechanisms with plausible-sounding but incorrect options. When you see a question asking you to identify valid authentication methods for a REST integration, focus on whether the option describes a recognized, platform-supported mechanism for authenticating the call itself rather than a feature related to something else, like authorization scoping or data formatting, since those are commonly confused with authentication but solve a different problem entirely.

⚠ Common exam trap

Many candidates confuse authentication methods supported for the UI (like SAML or LDAP) with those valid for REST API calls, or mistakenly think ServiceNow supports API keys when it does not.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Basic Authentication with username and password.

ServiceNow supports Basic Authentication, where the REST API call includes an HTTP Authorization header with a Base64-encoded string of 'username:password'. This is a straightforward method for authenticating API requests, though it requires HTTPS to avoid exposing credentials in plaintext.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • SAML assertion authentication.

    Why it's wrong here

    SAML is for SSO, not direct REST API authentication.

  • LDAP authentication.

    Why it's wrong here

    LDAP is for user authentication, not API calls.

  • Basic Authentication with username and password.

    Why this is correct

    Basic Authentication is supported.

  • API Key authentication.

    Why it's wrong here

    ServiceNow does not use API keys for REST API authentication.

  • OAuth 2.0 authentication.

    Why this is correct

    OAuth 2.0 is supported for REST API.

About these practice questions

One of 481 original SNOW-CAD practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

1 more way this is tested on SNOW-CAD

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. Which TWO of the following are valid authentication options for a Scripted REST API in ServiceNow?

easy
  • A.JWT
  • B.Basic Auth
  • C.API Key
  • D.SAML 2.0
  • E.OAuth 2.0

Why B: Basic Auth is a valid authentication option for Scripted REST APIs in ServiceNow because it allows the API to authenticate requests using a username and password pair encoded in the Authorization header. ServiceNow natively supports Basic Auth for inbound REST calls, making it a straightforward choice for legacy or simple integrations.

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This SNOW-CAD practice question is part of Courseiva's free ServiceNow certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SNOW-CAD exam.