From f83af9f150b9a2954ddd3044877916f8385b09a7 Mon Sep 17 00:00:00 2001 From: Lee hong <40360529+walkinggo@users.noreply.github.com> Date: Mon, 23 Dec 2024 14:02:01 +0800 Subject: [PATCH] suggest passing the token as headers --- docs/client-libraries-websocket.md | 1 + versioned_docs/version-3.0.x/client-libraries-websocket.md | 1 + versioned_docs/version-4.0.x/client-libraries-websocket.md | 1 + 3 files changed, 3 insertions(+) diff --git a/docs/client-libraries-websocket.md b/docs/client-libraries-websocket.md index a1874fb89da6..ad848860a519 100644 --- a/docs/client-libraries-websocket.md +++ b/docs/client-libraries-websocket.md @@ -81,6 +81,7 @@ All exchanges via the WebSocket API use JSON. ### Authentication #### Browser javascript WebSocket client +> For security reasons, we suggest passing the token as headers rather than as query parameters. Use the query param `token` to transport the authentication token. diff --git a/versioned_docs/version-3.0.x/client-libraries-websocket.md b/versioned_docs/version-3.0.x/client-libraries-websocket.md index d3f63278529f..65222566e927 100644 --- a/versioned_docs/version-3.0.x/client-libraries-websocket.md +++ b/versioned_docs/version-3.0.x/client-libraries-websocket.md @@ -80,6 +80,7 @@ All exchanges via the WebSocket API use JSON. ### Authentication #### Browser javascript WebSocket client +> For security reasons, we suggest passing the token as headers rather than as query parameters. Use the query param `token` to transport the authentication token. diff --git a/versioned_docs/version-4.0.x/client-libraries-websocket.md b/versioned_docs/version-4.0.x/client-libraries-websocket.md index a1874fb89da6..ad848860a519 100644 --- a/versioned_docs/version-4.0.x/client-libraries-websocket.md +++ b/versioned_docs/version-4.0.x/client-libraries-websocket.md @@ -81,6 +81,7 @@ All exchanges via the WebSocket API use JSON. ### Authentication #### Browser javascript WebSocket client +> For security reasons, we suggest passing the token as headers rather than as query parameters. Use the query param `token` to transport the authentication token.