Hi Salesforce community!

  1. I have set up an embedded service with a Post-chat page, which is overriden by a simple Visualforce page. enter image description here

  2. The VF page code is very simple:

<apex:page showHeader="false">
    Hello world!
  1. CSP configuration: enter image description here

  2. The chat is hosted in a community and works perfectly

  3. However, when a user clicks on the Post-page button, the VF doesn't load, and the following error is shown in the console:

Refused to display 'https://test-chat-gbc-developer-edition.ap16.force.com/liveAgentSetupFlow/apex/testFinalPage' in a frame because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self'".

The same happens when the chat is hosted by a public Visualforce page as well. Could anyone help me please? Thanks in advance. Paul

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.