Allow external domains in the custom widget content security policy
K
Kevin Puventhiranathan
Custom widgets can only make network requests to their own origin,
*.getport.io
and *.port.io
. That stops widgets from connecting to outside services like error tracking (Sentry), monitoring, or analytics tools.Requested capability:
let admins add trusted external domains to the widget's connect-src
allowlist, scoped per widget or per org. Alternatively, offer a built-in way to send widget errors to an external tracker.