Whitelist a Site

Add sites to the whitelist that you want to interact with and know are safe, such as third-party integrations. Only the sites listed will be allowed to interact with Cityworks. Any site that doesn't match the scheme, host, or port of a whitelisted origin will be rejected.

NOTE: eURL is not affected by anything set up in the CORS Whitelist page.

  1. From the General tab, click CORS Whitelist.
  2. Enter the Site URL and click Add.

NOTE: Whitelist values are case-insensitive, meaning it will not distinguish between uppercase or lowercase.

Existing sites appear in the panel below.

EXAMPLE

  • http://website1.com
  • scheme = "http"
  • host = "website1.com"
  • port = unspecified which defaults to 80 for http
  • https://website2.com
  • scheme = "https"
  • host = "www.website1.com"
  • port = unspecified which defaults to 443 for https
  • http://sub1.website3.com:5001
  • scheme = "http"
  • host = "sub1.website3.com"
  • port = 5001