Skip to content

Authentication

Sicket currently uses JWT bearer tokens.

Send:

Authorization: Bearer <token>

Typical dashboard login:

  1. POST /api/auth/login
  2. receive JWT token
  3. send token on subsequent authenticated requests

Realtime uses authenticated Server-Sent Events.

Because native browser EventSource does not support custom Authorization headers, browser clients should use a fetch-based SSE client when connecting to:

  • GET /api/realtime/events

If Sicket opens a customer-facing public API later, this site should document whether those endpoints continue using bearer tokens or move to API keys / OAuth.