Allowing All Subdomains to Host Embedded Webforms

Kevin_102667
Kevin_102667 Posts: 56 admin
edited April 2021 in Questions

When I attempt to host an embedded webform on one of my subdomains and update the content security policy, I get an error.

Refused to frame 'https://myteam.pushbot.com/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors mydomain.com myteam.pushbot.com".

How can I configure the webform settings in my Catalytic team to allow embedded forms on any of my subdomains? Do I need to list of each subdomain explicitly?

Best Answer

  • Nick_130752
    Nick_130752 Posts: 11
    Answer ✓

    Hi Kevin!

    Are you trying to display the embedded form on a domain like some-subdomain.mydomain.com? If so, I would recommend adding a wildcard subdomain entry (*.mydomain.com) to the Domains Allowed to Host Embedded Webforms list in the Admin Team Center in addition to the existing mydomain.com entry.