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 are allowed to interact with Cityworks. Any site that doesn't match the scheme, host, or port of a whitelisted origin is rejected.

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

  1. From the home page, click Admin and click Cors Whitelist.
  1. Enter the Whitelist Url and click Add record.

NOTE: Whitelist values are case-insensitive, meaning it does 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