Skip to Content
Wirebird Docs

Content Security Policy

Hosts and permissions to allow if your app sends a CSP.

If your app doesn't send a Content-Security-Policy header, there's nothing to do. If it does, allow Wirebird's API and its live-update and calling connections:

connect-src https://api.getwirebird.com
            https://*.ably.io wss://*.ably.io
            https://*.ably-realtime.com wss://*.ably-realtime.com
            wss://rtc.telnyx.com;
  • api.getwirebird.com: every request the components make.
  • Ably hosts: live updates (new texts and call status appear without a refresh). Check Ably's documentation for their current host list when you set this up.
  • rtc.telnyx.com: browser calling from the call bar.

Components inject their styles into their own Shadow DOM. If your CSP restricts style-src, allow 'unsafe-inline' for styles.

Microphone

Browser calling needs the microphone. If you send a Permissions-Policy header, allow it for your own origin:

Permissions-Policy: microphone=(self)

If you put Wirebird inside an <iframe>, also add allow="microphone" to the iframe.

Allowed origins

Wirebird only accepts browser requests from the origins registered for your platform. When you add a new domain (a new app subdomain, a staging site), tell us before you ship it, or its requests will be refused.

On this page