This help page is for users in Creator 5. If you are in the newer version (Creator 6), click here. Know your Creator version.

Whitelisting of URLs

By default, Widgets are allowed access only to the Creator servers and subsequently all other URLs are blocked. To use any client library within widget the whitelisting of URLs should be done. Whitelisting is the process by which you can create a list of URLs that the widget can access apart from the default Creator URLs. 

To whitelist URLs:

  1. Install the Command Line Interface(CLI). Learn more
  2. Open your project folder. Find the plugin-manifest.json file in the folder.
  3. Add the Domains to be whitelisted in the "plugin-manifest.json" file.
  4. Pack the ZIP using the CLI client. Learn more
  5. Upload this ZIP to Creator.

Syntax

{
  "service": "CREATOR",
  "cspDomains": {
    "connect-src": [
      "domain1",
      "domain2",
      "domain3"
    ]
 }
}

Example

{
  "service": "CREATOR",
  "cspDomains": {
    "connect-src": [
      "wss://*.zohopublic.com",
      "https://*.zoho.com",
      "https://*.zohopublic.com"
    ]
 }
}

Related Topics

Still can't find what you're looking for?

Write to us: support@zohocreator.com