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
Go to ‘System designer’ by clicking on the ‘Gear’ icon (1) and selecting ‘Content Security Policy' (2) (Fig. 1)
Fig. 1 Selecting the 'Content Security Policy’ sectionClick on the ‘Add source’ button (Fig. 2)
Fig. 2 ‘Add source’ buttonFill in ‘Source URL’ (1) field with the required URL https://[my-instance-domain.my].connect.aws/ (this URL with ccp-v2/ extension is used as ‘InstansceURL’ in the Telephony settings). To add the Directives, press the ‘+ New’ button and select ‘frame-src’ option (2). Press the ‘Save all’ (3) and ‘Save’ button (4) (Fig. 3)
Fig. 3 Setting of the ‘Content Security Policy’ sectionTo work with Chat sessions
Source URL https://participant.connect.[region].amazonaws.com/. [region] could be found after the authorization https://signin.aws.amazon.com/ (Fig. 4)
Fig. 4 [region] locationDirectives connect-src, script-src
For work with transferred files
Source URL has the follwowing structure https://[nameOfBucket].s3.[region].amazonaws.com/
[nameOfBucket] can be found ‘Amazon Connect’ → ‘Data storage’ → ‘Attachments’ (Fig. 5)
Fig. 5 [nameOfBucket] location[region] can be found in the S3 Cervice (Fig. 6)
Fig. 6 [region] locationPlease note: If the storage is not on the S3, then as a Source URL a direct link to this different storage should be used
Directives connect-src