Legacy Dev Forum Posts

 View Only

Sign Up

PureCloud Embed Framework iframe error Content Security Policy Directive frame ancesstor self

  • 1.  PureCloud Embed Framework iframe error Content Security Policy Directive frame ancesstor self

    Posted 06-05-2025 19:01

    fransiska.hendra | 2022-07-29 01:13:37 UTC | #1

    hi All,

    I am trying Purecloud Embeddable Framework, https://github.com/MyPureCloud/purecloud-embeddable-framework-example and got issue Embed Framework iframe unable to load,

    I can get PureCloud login page rendered:

    But when I logged in, got following error:

    Refused to frame 'https://apps.mypurecloud.com.au/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self' *.salesforce.com".

    Just wondering if anyone can help to fix this ? Is there any setting missing.

    Appreciate for all help.

    Thank you Fransiska


    Jerome.Saint-Marc | 2022-07-29 13:25:16 UTC | #2

    Hello,

    Your Genesys Cloud org is most probably configured to Restrict Genesys Cloud Embedding - and you only defined *.salesforce.com as Allowed Embeddable Domains. You either need to disable this restriction or add localhost to the list of Allowed Embeddable Domains. See Manage Genesys Cloud embedding on the Resource Center.

    Regards,


    fransiska.hendra | 2022-08-14 23:50:14 UTC | #3

    Thanks Jerome.

    Fransiska


    system | 2022-09-13 23:50:37 UTC | #4

    This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 15733