Skip to content
Strata is pre-1.0. APIs, protocol, and storage format may change.

Authentication and Connection

Strata v1 uses a single shared secret from STRATA_TOKEN.

The first client action is authentication. After auth succeeds, the same socket can join document topics, send document deltas, update presence, and ping the server.

  1. Open the WebSocket connection.
  2. Send an auth frame with the configured token.
  3. Wait for a welcome frame.
  4. Join document topics as needed.

JWT and multi-tenant auth are planned behind the same auth frame shape so the wire protocol can evolve without forcing applications to redesign connection setup.