Skip to content

feat(sdk): migrate SSE auth from ?token=JWT to Fetch EventSource #203

Description

@EricAndrechek

Move SSE auth off the ?token={JWT} query param to a Fetch-based EventSource implementation that attaches an Authorization header.

Tasks

  • Fetch-based EventSource attaches Authorization: Bearer …
  • Confirm the terminal/cURL flow still works
  • Deprecate the ?token={jwt} path (warn now, remove in a later major)

(WebSocket removal already shipped in #190.)

Part of #194

Metadata

Metadata

Assignees

Labels

area/apiHTTP handlers, routing, middlewarearea/authAuthentication: tokens, JWT/JWKS, keys, token expiry/revocationarea/docsDocumentation, site/, READMEarea/sdkTypeScript SDK (clients/ts/)area/streamingSSE / live-query delivery path (/v1/stream)breaking-changeBreaking change to public API, CLI, or configenhancementNew feature or requestsecuritySecurity-sensitive issue or fix

Type

No type

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions