Configuring CORS for the sample Chat client

Last Updated : Nov 02, 2021 |

About this task

Use this procedure to Configure Cross-origin Resource Sharing (CORS) for the sample Chat client. CORS is a mechanism by which restricted resources on a node can be requested from another domain outside the domain from which the resource originated.

Procedure

  1. Start Omnichannel Administration Utility.
  2. In the navigation pane, click Web Chat/Messaging.
  3. Click Config.
  4. In the Web Chat Security section, in External Web Server Domain, enter one of the following values:
    • To allow all domains, enter an asterisk wildcard *.

      Important:
      • If you keep this field blank, the system does not allow any domains and refuses all chats.

      • Do not perform this step in Production.

    • To allow a single external server or domain, enter the IP address or FQDN of the server where the sample Chat client is hosted.