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
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
Go to ‘System designer’ via the ‘Gear’ icon (Fig. 1)
Fig. 1 Entering ‘System designer’Click the ‘System Settings’ (Fig. 2)
Fig. 2 ‘System settings’ locationEnter ‘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' settingThe required URL is in the ‘Default value' field. Please copy it (Fig. 4)
Fig. 4 URL location
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’ sectionClick on the ‘Add source’ button (Fig. 6)
Fig. 6 ‘Add source’ buttonFill 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
To make status management possible:
Enter as a ‘Source URL' - https://platform.ringcentral.com/
Directives - ‘connect-src’
For subscriptions availability:
‘Get RC settings’ should be performed
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)
Open ‘CTI’ panel and reload the page
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’ locationCopied URL fill into the ‘Source URL' of the ‘Content Security Policy’ section
Directives - ‘connect-src’