fransiska.hendra | 2023-02-28 02:56:28 UTC | #1
hi All,
If someone can help/advise,
We are trying to embed Salesforce page inside iframe in Purecloud Scripting,
And got following error: Content Security Policy directive: "frame-ancestors 'self'".
Just wondering if anyone ever experience similar thing and is there any alternative solution for this ?
Appreciate for any advise.
Thank you Fransiska
jacobshaw | 2023-02-28 13:21:04 UTC | #2
fransiska.hendra, post:1, topic:18624
Content Security Policy directive: "frame-ancestors 'self'".
Hi @fransiska.hendra This content security policy has been put in place to prevent the page from being embedded in an iframe on a different site. The 'self' type means it can only be used in an iframe on a page with the same origin.
fransiska.hendra | 2023-02-28 22:32:34 UTC | #3
hi @jacobshaw
Thanks for advise.
Fransiska
system | 2023-03-31 22:33:15 UTC | #4
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 18624