If your writers use a web application like Google Docs, you might need to Enable Cross-Origin Resource Sharing (CORS). You enable CORS so that your Acrolinx Platform and the web application server can share resources. You can do this by adding a property to your configuration file.
To enable CORS on your Acrolinx Platform, follow these steps:
Open your overlay of the core server properties file.
You'll find the overlay for the core server properties file in the following location:
Add the following property:
For example, if you host your web application at the address https://demo-inc.com, you would enter the property as follows:
Some applications require specific values. Below is a list of specific examples that depend on the application you're using:
Application CORS Property Chrome
Allow access from Acrolinx for Chrome. The ID belongs to the Acrolinx extension in Chrome and shouldn't change.
Allow access from any Firefox extension. Because of a limitation in Firefox that adds a unique ID to each user instance, we can't set it to only allow the Acrolinx extension.
Google Docs and Google Sheets
Check your CORS Origin in the About tab of your Sidebar.
If you can't access the Sidebar, you can allow access from any Google extension by using:
Allow access from any Microsoft Edge extension. Because of a limitation in Microsoft Edge that adds a unique ID to each user instance, we can't set it to only allow the Acrolinx extension.
Allow access from Microsoft Office.
Allow access from Microsoft Office Online.
Allow access from any Safari extension. Because of a limitation in Safari that adds a unique ID to each user instance, we can't set it to only allow the Acrolinx extension.
Visual Studio Code
Although Acrolinx for Visual Studio Code doesn't require CORS, you need to add
nullto the CORS property for theIintegration to connect to your Core Platform.
This is only necessary if you’re using Acrolinx for Visual Studio Code version 1.1.
<APPLICATION_SERVER_ADDRESS>with the address where you host your WordPress instance. For example, if you host WordPress at
Allow access from your local file system. Even though XMetaL isn't a web application, it uses Internet Explorer to load the Sidebar.
Custom or third party integrations
- Open the Sidebar in your custom integration
- Navigate to About
- Copy the CORS Origin link
- Add the link to the
If you'd like to add multiple origins, you can add them all to one CORS property and separate them with a comma. Here's an example of adding multiple origins to allow Firefox and Chrome at the same time:
If you're still having trouble signing in to Acrolinx from the Sidebar, try enabling CORS from any source. To do this, add the property as follows:
We recommend that you only use this setting for temporary testing. Allowing CORS from any source could make your server vulnerable to malicious activity.
Save your changes and restart the core server.