Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions pages/price-feeds/pro/subscribe-price-updates.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ Please fill out [this form](https://2fga8d.share-eu1.hsforms.com/2ftdPrASCTLCxtP

Use the access token to authenticate the websocket connection by passing it as an `Authorization{:bash}` header with the value `Bearer {token}{:bash}`.

<Callout type="warning" emoji="⚠️">
**Security Warning**: Never expose your access token in frontend applications
or client-side code. Access tokens should only be used in secure backend
environments. Exposing tokens in frontend code makes them publicly accessible
and compromises your account security.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change this sentence to: "Exposing tokens in frontend code makes them publicly accessible
and is a violation of our terms of service."

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the feedback! I'll update the wording to reference the terms of service violation.

</Callout>

### 2. Configure subscription parameters

Pyth Pro supports several request/subscription parameters to customize the received prices.
Expand Down
Loading