Skip to main content
We're running into an issue in SalesForce Classic with regards to the upcoming SameSite cookie updates in Chrome 80. Defaulting all cookies to SameSite=Lax seems to be causing embedded VisualForce pages not to load. The VisualForce page loads fine in Lightning, but not Classic.

 

We use a VisualForce page embedded on Account Pages (added when customizing the account page layout). I even striped the embedded VisualForce code down to the most basic possible (see code below), but it still fails to load. The embedded VisualForce page throws an “login.salesforce.com refused to connect”.

 

It appears to be because cookies from “visual.force.com” are being blocked. Sample VisualForce page:

 

<apex:page standardController="Account">

    Hello World

</apex:page>

Is there anything that can be done to get past this?
6 respostas
  1. 21 de jan. de 2020, 20:53
    Hi Michael,

    We are facing a similar issue where our Connected App (or any VisualForce) page will not load in Classic with the SameSite flags enabled.

    However, I just spun up a Spring 2020 preview instance, and VisualForce pages work as expected in that environment, so my hope is that this issue is resolved when Spring 2020 is released globally on February 17th.  Unfortunately, that is 13 days AFTER Chrome 80 is released...

    Anyway, hope this helps.

    https://www.salesforce.com/blog/2020/01/spring-20-release-preview.html

    https://www.chromestatus.com/features/schedule