Skip to content
</> INTEGRATION SECURITY

Integration security: sessions, permissions and origins

A safe integration respects user sessions and room access rules without moving credentials between unrelated sites.

Current capabilities only — admin-issued scoped API keys; first-party WebSocket only

Authentication

  • Session cookies are HttpOnly and SameSite=Lax; do not read or transplant them using frontend JavaScript.
  • Write operations check Origin and usually require both a valid session and appropriate room permissions.
  • Do not log passwords, room messages or user session credentials.
  • Never treat a Super Admin account as a general integration service account.

CORS and iframe

No unrestricted cross-origin browser CORS API is currently promised. X-Frame-Options and Content-Security-Policy prevent embedding chat pages in external iframes. Prefer room links or a licensed separate installation.

Room data

Reading public room names does not permit copying message histories or administering rooms. Respect consent, privacy and access restrictions.

Production checklist

  1. Use HTTPS and WSS.
  2. Set REST timeouts, caching and retry backoff.
  3. Separate credentials per environment if your own installation includes private integrations.
  4. Handle 401, 403, 404 and 429 explicitly.
  5. Keep server secrets outside browser JavaScript.