/
Content Security Policy Setup

Content Security Policy Setup

This guide describes how to set up a ‘Content Security Policy’ setting to avoid reauthorization of the connector.

Obligatory setting for the Creatio version 8.1.5 and higher

  1. To receive the required URL that should be used in the following step, please perform ‘Get RC Settings’ action if it wasn’t done (see this guide https://velvetech.atlassian.net/wiki/x/KwLeJw

    1. Go to ‘System designer’ via the ‘Gear’ icon (Fig. 1)
      Fig. 1 Entering ‘System designer’

      image-20241223-090935.png
    2. Click the ‘System Settings’ (Fig. 2)
      Fig. 2 ‘System settings’ location

      image-20241223-092227.png

       

    3. Enter ‘Velvetech’ in the search field (1), press the apply button (2), and open ‘Velvetech webRTC connection string’ (3) (Fig. 3)
      Fig. 3 Opening 'Velvetech webRTC connection string' setting

       

      1. The required URL is in the ‘Default value' field. Please copy it (Fig. 4)
        Fig. 4 URL location

  2. Go to ‘System designer’ by clicking on the ‘Gear’ icon (1) and selecting ‘Content Security Policy' (2) (Fig. 5)
    Fig. 5 Selecting the 'Content Security Policy’ section

     

  3. Click on the ‘Add source’ button (Fig. 6)
    Fig. 6 ‘Add source’ button

     

    1. Fill in ‘Source URL’ (1) field with the copied URL from p. 1ci. To add the Directives, press the ‘+ New’ button and select ‘connect-src’ option (2). Press the ‘Save all’ (3) and ‘Save’ button (4) (Fig. 7)
      Fig. 7 Setting of the ‘Content Security Policy’ section

       

  4. To make status management possible:

    1. Enter as a ‘Source URL' - https://platform.ringcentral.com/

    2. Directives - ‘connect-src

  5. For subscriptions availability:

    1. ‘Get RC settings’ should be performed

    2. Open the browser console by pressing F12 or click 3 dots in the upper right corner → ‘More tools’ → ‘Developer tools’ (this is valid for Chrome browser)

      1. Open ‘CTI’ panel and reload the page

      2. In the ‘Console’ tab of the ‘Developer tool’ find the following line (value should be different for each client. This is an example). Copie marked part of the URL (Fig. 8 )
        Fig. 8 URL in the ‘Console’ location

         

        1. Copied URL fill into the ‘Source URL' of the ‘Content Security Policy’ section

        2. Directives - ‘connect-src

 

 

 

 

 

 

 

Related content

Content Security Policy Setup
Content Security Policy Setup
Read with this
Content Security Policy Setup
Content Security Policy Setup
Read with this