Skip to main content
Edward Miller が「#Visualforce」で質問
Hi,

I have created a Visualforce page , in which i called my website URL in an Iframe. and used this VF Page into a custom tab.

when we click on custom tab then my url called and if SFDC OAuth SSO will be performed and a session will be set up for users into my site.

This flow is working file with all browser except safari. 

So, I tried to find the cause. i found that safari is not allowing cookie to set from Iframe. thats why after successful authentication my site unable to set cookie inside Iframe.

Please provide solution or workaround for that.

Thanks,

 
2 件の回答
  1. 2017年3月16日 7:43
    Hi Edward,

    Typically, the URLs loaded within IFRAME are treated as less trustworthy.

    You either have to mark these sites as Trusted Sites in your browser (it will be a client side fix which works only on the specific browser in a specific client computer).

    Or, you need to setup something called P3P policy in your web site.

    Refer the URL below for more details.

    http://stackoverflow.com/questions/389456/cookie-blocked-not-saved-in-iframe-in-internet-explorer

    Hope this helps.