function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Vetriselvan ManoharanVetriselvan Manoharan 

Canvas app issue - Visualforce

We have a connected app that shows the external website inside canvas within Salesforce. The external site, headers are set to allow and also in Salesforce, in the Session settings, headers are allowed and the domain is also website. It is working fine but not only on the first when logging in.

When we trying viewing the site first time, it throws a cross-origin exception in the browser console. Clicking the error link it opens up the site in different windows and then it is working within the canvas. The canvas is kept within visualforce. Any thoughts?