Limit basic authentication restriction allowed roles

reference brazil Updated Sep 10, 2026 2 min read sc-limit-basic-authentication-restriction-allowed-roles.md
Raw file servicenow.com

The glide.authenticate.basic_auth.allowed_roles property defines roles that bypass the Basic Authentication Restriction gate without multi-factor authentication.

This system property contains a comma-separated list of role names exempt from the Basic authentication restriction gate. When restriction is active, any interactive-login user holding one of the listed roles can authenticate through Basic Auth without multi-factor authentication or time-based one-time password. This role check runs unconditionally, before enforcement-date tracking logic and before any per-account review in the Basic Auth Exception table. A role match is never logged as a tracked exception and always bypasses the gate regardless of whether enforcement is enabled.

The out-of-box value is the single, dedicated role snc_basic_auth_api_access. Management, Instrumentation, and Discovery (MID) Server accounts pass this check without being separately listed. The mid_server role inherits snc_basic_auth_api_access through the platform role hierarchy, so a MID Server account transitively holds the allowed role without appearing in this property value.

To configure this property:

  1. Navigate to /sys_properties_list.do on the instance.
  2. Ensure the glide.authenticate.basic_auth.allowed_roles property is limited to snc_basic_auth_api_access or another narrowly-scoped, dedicated integration role. Remove any broadly-held role such as admin, itil, or snc_internal.

More information

Attribute

Description

Configuration name

glide.authenticate.basic_auth.allowed_roles

Configuration type

System Properties (/sys_properties_list.do)

Data type

String (comma-delimited list)

Recommended value

snc_basic_auth_api_access

Default value

snc_basic_auth_api_access

Fallback value

<None>

Category

Authentication

Security risk

  • Severity score: 8.1
  • CVSS score: High
  • Security risk details:

If this property includes a widely-held role such as admin, itil, or snc_internal, every user holding that role receives a permanent, unconditional bypass of the Basic Authentication Restriction gate.

This is not a temporary tracking-mode allowance. Unlike a per-account exception, which is logged and individually reviewed, role-based matches are never logged and never reviewed. An over-broad role grants silent, undetectable multi-factor authentication bypass to every current and future holder of that role. An attacker who obtains a valid password through phishing, credential stuffing, or a prior breach authenticates directly against the API without satisfying a second factor. This exposure extends to the entire population holding the listed role.

Functional impact

This property takes effect for users not already allowed through an earlier checks. Earlier checks include WSAO accounts, oauth_token requests, an active TOTP or multi-factor authentication session, or the allowed_users list.

Keep the value limited to snc_basic_auth_api_access or another narrowly-scoped, dedicated integration role. This does not affect MID Server accounts. The mid-server role holds snc_basic_auth_api_access through role containment, independent of this property literal value. Removing a role from this list doesn't immediately deny access.

Affected users fall through the same tracking and review flow as any other basic-auth user. This review process provides a safety net before actual denial takes effect. Before narrowing or auditing this property, confirm that any role kept in the list is a dedicated integration or service role, not one held by ordinary interactive users.

Dependencies and prerequisites

Plugin com.snc.integration.multifactor.authentication must be Active. No effect unless glide.authenticate.basic_auth.restriction.active is true.

**Parent Topic:**[Authentication](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/platform-security/instance-security-hardening-settings/sc-authentication.md)
Keywords basic authenticationMFA bypassrole-based accesssecurity gate
Search documentation
Search document titles and file paths on the brazil branch