Skip to main content

Cross-Origin Resource Sharing (CORS)

Cross-Origin Resource Sharing (CORS) is a security mechanism that prevents browsers from loading resources from different domains without proper authorization. If attempting to access APIs in Link through the browser, the domain of the web page must be configured in Link; otherwise the brower will not allow for any requests to Link.

Configuration

To allow a website to make requests to Link through the browser, the domain of the site must be configured in Link via the Cors__AllowedOrigins User-Configured Variable. This variable can accept multiple domains as a comma-delimited list.

Example

Cors__AllowedOrigins: https://www.google.com,https://enoisx.io