Restrict oauth parameters to POST body

reference australia Updated Sep 10, 2026 1 min read sc-restrict-oauth-parameters-to-post-body.md
Raw file servicenow.com

Use the glide.oauth.allow.parameters.in.post.body.only property restricts OAuth credentials to POST request bodies when set to true.

Use the glide.oauth.allow.parameters.in.post.body.only property to control how the OAuth token endpoint (/oauth_token.do) accepts OAuth credentials. When set to true, this property restricts OAuth parameters (such as client_id, client_secret, authorization codes, and refresh tokens) to POST request bodies only. OAuth credentials submitted using HTTP headers continue to be accepted.

To set up this property:

  1. Navigate to /sys_properties_list.do on the ServiceNow instance.
  2. Ensure glide.oauth.allow.parameters.in.post.body.only exists and is set to true.

More information

Attribute

Description

Configuration name

glide.oauth.allow.parameters.in.post.body.only

Configuration type

System Properties (/sys_properties_list.do)

Data type

Boolean

Recommended value

true

Fallback value

false

Default value

true

Category

Data protection

Security risk

  • Severity score: 4.2
  • CVSS score: Medium
  • Security risk details: If glide.oauth.allow.parameters.in.post.body.only isn't set to the recommended value of true, OAuth credentials such as client_id, client_secret, authorization codes, and refresh tokens could be present in the URL query string. These credentials could linger in client and infrastructure logs and potentially lead to account takeover if those logs are leaked.

Dependencies and prerequisites

Plugin OAuth 2.0

References

Functional impact

Ensures that oauth_token.do processor accepts only POST body parameters as input for all supported grant types.

**Parent Topic:**[Data protection](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-security/instance-security-hardening-settings/sc-data-protection.md)
Search documentation
Search document titles and file paths on the australia branch