OAuth & authentication
Quick answer
Authentication decides who a user or system is. ServiceNow supports several methods; for integrations, OAuth 2.0 is the modern standard. This lesson covers the whole authentication landscape, then drills into the OAuth flows and where you configure them.
Key takeaways
- Authentication options
- Inbound vs outbound OAuth
- Grant types
- Common mistakes
Authentication decides who a user or system is. ServiceNow supports several methods; for integrations, OAuth 2.0 is the modern standard. This lesson covers the whole authentication landscape, then drills into the OAuth flows and where you configure them.
Authentication options
Inbound vs outbound OAuth
Get this distinction right first, because they are configured differently:
Both live under the Application Registry (oauth_entity).
Grant types
The returned bearer token then authorises calls to the REST API (Authorization: Bearer <token>).
Common mistakes
- Confusing the inbound and outbound registry entries.
- Hard-coding secrets in a client-side app instead of the auth-code flow.
- Ignoring token expiry and never implementing refresh.
- Giving the integration account
admininstead of least-privilege roles.
Want to learn this properly?
Our live, instructor-led ServiceNow Training covers this hands-on, with real projects and a certification path.
Check your understanding
Enterprise single sign-on typically uses:
- A. SAML
- B. A spreadsheet
- C. Discovery
Show answer
A. SAML
SAML delegates login to an identity provider.
OAuth secures API access without sharing:
- A. Passwords
- B. Fonts
- C. Reports
Show answer
A. Passwords
OAuth uses tokens instead of passwords.
An external app calling ServiceNow's REST API is which OAuth direction?
- A. Inbound
- B. Outbound
- C. Neither
Show answer
A. Inbound
Inbound = something calling into ServiceNow.