Skip to content

docs: Warn that deprecated openStreamingConnection() is incompatible with JWT#443

Open
Copilot wants to merge 2 commits intomainfrom
copilot/add-warning-to-3xdocs
Open

docs: Warn that deprecated openStreamingConnection() is incompatible with JWT#443
Copilot wants to merge 2 commits intomainfrom
copilot/add-warning-to-3xdocs

Conversation

Copy link
Contributor

Copilot AI commented Mar 6, 2026

Using the deprecated client.openStreamingConnection() interface breaks JWT token refresh silently. The interface was never tested for compatibility with JWT and won't be fixed — users must migrate to streaming endpoints.

Fixes: serverpod/serverpod#4663

Changes

  • Added a :::warning admonition to the Client-side configuration section of 02-jwt-token-manager.md in all 3.x.x versioned docs and the current docs:
    • docs/ (latest)
    • versioned_docs/version-3.0.0 through version-3.4.0

Warning text added to each:

:::warning
The deprecated `client.openStreamingConnection()` interface is not compatible with JWT authentication. If you are using JWT tokens, migrate to [streaming endpoints](/concepts/streams) instead.
:::

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

…ith JWT

Co-authored-by: marcelomendoncasoares <6807059+marcelomendoncasoares@users.noreply.github.com>
Copilot AI changed the title [WIP] Add warning to 3.x.x versioned documentation Warn that deprecated openStreamingConnection() is incompatible with JWT Mar 6, 2026
@marcelomendoncasoares marcelomendoncasoares changed the title Warn that deprecated openStreamingConnection() is incompatible with JWT docs: Warn that deprecated openStreamingConnection() is incompatible with JWT Mar 6, 2026
@marcelomendoncasoares marcelomendoncasoares marked this pull request as ready for review March 6, 2026 23:50
@marcelomendoncasoares marcelomendoncasoares requested a review from a team March 6, 2026 23:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

JWT Token Not Updated After Refresh

2 participants