--- title: Allow CORS Origins for OAuth Endpoints description: Use a system property to configure to specify which domains are allowed to make cross-origin requests. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/platform-security/instance-security-hardening-settings/sc-allow-cors-origins-for-oauth-endpoints.html release: australia product: Instance Security Hardening Settings classification: instance-security-hardening-settings topic_type: reference last_updated: "2026-03-12" reading_time_minutes: 1 breadcrumb: [Configuration, Hardening settings, Platform Security] --- # Allow CORS Origins for OAuth Endpoints Use a system property to configure to specify which domains are allowed to make cross-origin requests. ServiceNow can function as an OAuth authorization server, a resource server, or both simultaneously. When browser-based applications must access ServiceNow's OAuth endpoints, such as the authorization server metadata, protected resource metadata, or token endpoint, the browser's same-origin policy blocks these cross-origin requests by default. Configure the Access-Control-Allow-Origin header for these endpoints to specify which domains are allowed to make cross-origin requests. References: - [OAuth Authorization Server Metadata RFC](https://datatracker.ietf.org/doc/html/rfc8414) - [OAuth Protected Resource Metadata RFC](https://datatracker.ietf.org/doc/html/rfc9728) When integrating third-party solutions with ServiceNow OAuth functionality, ensure that the **glide.oauth.cors.allowed.origin** system property exists in the System Properties \[sys\_properties\] table, and holds the external domain\(s\) required for Cross Origin Resource Sharing \(CORS\) functionality. ## More information
Attribute Description
Configuration name **glide.oauth.cors.allowed.origin**
Configuration type System Properties \(/sys\_properties\_list.do\)
Data type String
Recommended value Varies based on use case. This property can one of these values:1. An empty string 2. A single hostname 3. An asterisk \(\*\), which allows all origins to access the OAuth endpoints. **Tip:** There's no dynamic list for allow-listing multiple hostnames. Use an asterisk\(\*\) to access the OAuth endpoints from multiple domains.
Default value empty string
Fallback value empty string
Category [Configuration](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-security/instance-security-hardening-settings/sc-configuration.md)
Security risk - Severity score: 3.5 - CVSS score: Low - Security risk details: A third party applications inability to interact with the ServiceNow platform due to browsers' single origin policy may cause a denial of service.
Functional impact This property can be used to connect MCP clients to the instance when the client exists entirely in the browser, and does not make token or discovery calls via a backend call to the ServiceNow platform.
Dependencies and prerequisites None
**Parent Topic:**[Configuration](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-security/instance-security-hardening-settings/sc-configuration.md)