With Salesforce’s Summer ‘24 Release, we will update the Content Security Policy (CSP) directives for Lightning pages, which controls what resources Lightning components, third-party APIs, and WebSocket connections can load.
Customers must add to the Trusted URLs list in Salesforce to prepare for the upcoming change.
How to add a Trusted URL
- Go to the Salesforce account Setup.
- Search for Trusted URLs [1].
- Click on Trusted URLs [2].
- Click the “New Trusted URL” button to create a new one [3].
Once in the Trusted URL Edit view:
- Add the “Trusted Site Name” (from the table below) to the field “API Name” [4].
- Add the “URL” based on your region (from the table below) to the field “URL” [5].
- “CSP Context” should always be selected as “All” [6].
- Add the “CSP Directives” (from the table below) to the field “CSP Context.” In this case, select “frame-src” [7].
- Click “Save” [8].
For each URL you add, repeat this process. Talkdesk for Salesforce customers need to add two, and Talkdesk for Service Cloud Voice customers need to add four.
Trusted sites
For Talkdesk for Salesforce Customers:
Trusted Site Name | URL - US Region | URL - EU Region | URL - CA Region |
Talkdesk_Embedded |
https://*.mytalkdesk.com CSP Directives: Frame-SRC |
https://*.mytalkdesk.eu CSP Directives: Frame-SRC |
https://*.mytalkdeskca.com CSP Directives: Frame-SRC |
Talkdesk_CTI |
https://cti-client.talkdeskapp.com CSP Directives: Frame-SRC |
https://cti-client-web.meza.talkdeskapp.eu CSP Directives: Frame-SRC |
https://cti-client-web.meza.talkdeskappca.com CSP Directives: Frame-SRC |
Additionally, Talkdesk for Service Cloud Voice Customers also need to add:
Trusted Site Name | URL - US Region | URL - EU Region | URL - CA Region |
Talkdesk_Login |
https://prd-cdn-talkdesk.talkdesk.com |
||
Talkdesk_App |
https://*.talkdeskapp.com CSP Directives: Frame-SRC |
https://*.talkdeskapp.eu CSP Directives: Frame-SRC |
https://*.talkdeskappca.com CSP Directives: Frame-SRC |
Note: Talkdesk_Login is region agnostic, while others differ depending on the region. To check your Talkdesk account region, please check below.
View the Region of Your Salesforce Account
You can check the region of your account on Salesforce by navigating to Talkdesk Admin > Account:
- Accounts on US Region the Talkdesk URL will be: https://<account_name>.mytalkdesk.com/.
- Accounts on Canada Region the Talkdesk URL will be: https://<account_name>.mytalkdeskca.com/.
- Accounts on Europe Region the Talkdesk URL will be: https://<account_name>.mytalkdesk.eu/.