Skip to main content
You can configure cross-origin resource sharing (CORS) for the Admin API by navigating to the Admin API portion of the Security tab. CORS allows browser-based clients to connect to Arc. Without CORS, browser-based scripts cannot connect to Arc because of the same-origin policy enforced by the browser. This policy restricts client-side scripts and documents from loading resources outside their origin. The origin of a script consists of the protocol, host, and port.
SettingDescription
Enable cross-origin resource sharing (CORS)Whether or not CORS is enabled. The rest of these options are only available when you check this box.
Allow all domains without '*'If enabled, domain origins are not restricted to a specific list.
Access-Control-Allow-OriginThe comma-delimited list of domain origins to allow. Included as an HTTP response header.
Access-Control-Allow-CredentialsWhether or not user credentials such as cookies are allowed in cross-origin requests. Included as an HTTP response header.
Access-Control-Allow-MethodsThe comma-delimited list of methods to allow. Included as an HTTP response header.
Access-Control-Allow-HeadersThe comma-delimited list of headers to allow. Included as an HTTP response header.
Access-Control-Max-AgeThe maximum duration (in seconds) that Access-Control response header values can be cached.