diff --git a/docs/06-concepts/11-authentication/05-token-managers/02-jwt-token-manager.md b/docs/06-concepts/11-authentication/05-token-managers/02-jwt-token-manager.md index a46dc86d..2ef2a22e 100644 --- a/docs/06-concepts/11-authentication/05-token-managers/02-jwt-token-manager.md +++ b/docs/06-concepts/11-authentication/05-token-managers/02-jwt-token-manager.md @@ -206,3 +206,7 @@ await TokenMetadata.db.insertRow( ## Client-side configuration When using the `JwtTokenManager` in the server, no extra configuration is needed on the client. It will automatically include the access token in requests to the server and eagerly refresh the token when it is 30 seconds away from expiring. In case the refresh token expires, the client will automatically sign the user out and redirect to the login page. + +:::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. +::: diff --git a/versioned_docs/version-3.0.0/06-concepts/11-authentication/05-token-managers/02-jwt-token-manager.md b/versioned_docs/version-3.0.0/06-concepts/11-authentication/05-token-managers/02-jwt-token-manager.md index 2082a80d..567dba84 100644 --- a/versioned_docs/version-3.0.0/06-concepts/11-authentication/05-token-managers/02-jwt-token-manager.md +++ b/versioned_docs/version-3.0.0/06-concepts/11-authentication/05-token-managers/02-jwt-token-manager.md @@ -109,3 +109,7 @@ final jwtConfig = JwtConfigFromPasswords( ## Client-side configuration When using the `JwtTokenManager` in the server, no extra configuration is needed on the client. It will automatically include the access token in requests to the server and eagerly refresh the token when it is 30 seconds away from expiring. In case the refresh token expires, the client will automatically sign the user out and redirect to the login page. + +:::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. +::: diff --git a/versioned_docs/version-3.1.0/06-concepts/11-authentication/05-token-managers/02-jwt-token-manager.md b/versioned_docs/version-3.1.0/06-concepts/11-authentication/05-token-managers/02-jwt-token-manager.md index 2082a80d..567dba84 100644 --- a/versioned_docs/version-3.1.0/06-concepts/11-authentication/05-token-managers/02-jwt-token-manager.md +++ b/versioned_docs/version-3.1.0/06-concepts/11-authentication/05-token-managers/02-jwt-token-manager.md @@ -109,3 +109,7 @@ final jwtConfig = JwtConfigFromPasswords( ## Client-side configuration When using the `JwtTokenManager` in the server, no extra configuration is needed on the client. It will automatically include the access token in requests to the server and eagerly refresh the token when it is 30 seconds away from expiring. In case the refresh token expires, the client will automatically sign the user out and redirect to the login page. + +:::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. +::: diff --git a/versioned_docs/version-3.2.0/06-concepts/11-authentication/05-token-managers/02-jwt-token-manager.md b/versioned_docs/version-3.2.0/06-concepts/11-authentication/05-token-managers/02-jwt-token-manager.md index 2082a80d..567dba84 100644 --- a/versioned_docs/version-3.2.0/06-concepts/11-authentication/05-token-managers/02-jwt-token-manager.md +++ b/versioned_docs/version-3.2.0/06-concepts/11-authentication/05-token-managers/02-jwt-token-manager.md @@ -109,3 +109,7 @@ final jwtConfig = JwtConfigFromPasswords( ## Client-side configuration When using the `JwtTokenManager` in the server, no extra configuration is needed on the client. It will automatically include the access token in requests to the server and eagerly refresh the token when it is 30 seconds away from expiring. In case the refresh token expires, the client will automatically sign the user out and redirect to the login page. + +:::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. +::: diff --git a/versioned_docs/version-3.3.0/06-concepts/11-authentication/05-token-managers/02-jwt-token-manager.md b/versioned_docs/version-3.3.0/06-concepts/11-authentication/05-token-managers/02-jwt-token-manager.md index 2082a80d..567dba84 100644 --- a/versioned_docs/version-3.3.0/06-concepts/11-authentication/05-token-managers/02-jwt-token-manager.md +++ b/versioned_docs/version-3.3.0/06-concepts/11-authentication/05-token-managers/02-jwt-token-manager.md @@ -109,3 +109,7 @@ final jwtConfig = JwtConfigFromPasswords( ## Client-side configuration When using the `JwtTokenManager` in the server, no extra configuration is needed on the client. It will automatically include the access token in requests to the server and eagerly refresh the token when it is 30 seconds away from expiring. In case the refresh token expires, the client will automatically sign the user out and redirect to the login page. + +:::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. +::: diff --git a/versioned_docs/version-3.4.0/06-concepts/11-authentication/05-token-managers/02-jwt-token-manager.md b/versioned_docs/version-3.4.0/06-concepts/11-authentication/05-token-managers/02-jwt-token-manager.md index a46dc86d..2ef2a22e 100644 --- a/versioned_docs/version-3.4.0/06-concepts/11-authentication/05-token-managers/02-jwt-token-manager.md +++ b/versioned_docs/version-3.4.0/06-concepts/11-authentication/05-token-managers/02-jwt-token-manager.md @@ -206,3 +206,7 @@ await TokenMetadata.db.insertRow( ## Client-side configuration When using the `JwtTokenManager` in the server, no extra configuration is needed on the client. It will automatically include the access token in requests to the server and eagerly refresh the token when it is 30 seconds away from expiring. In case the refresh token expires, the client will automatically sign the user out and redirect to the login page. + +:::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. +:::