You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add 'Acquire an Access Token' page to Lazer how-to guides (#842)
* Add 'Acquire an Access Token' page to Lazer how-to guides
- Create new standalone guide for acquiring Pyth Lazer access tokens
- Extract content from Subscribe to Price Updates guide
- Add navigation entry in _meta.json under How-To Guides section
- Update Subscribe to Price Updates to reference new standalone guide
- Include form link, security callout, usage instructions, and code example
Co-Authored-By: Jayant <[email protected]>
* Remove cross-reference link from Subscribe to Price Updates
- Address PR feedback from jayantk to undo the cross-reference change
- Keep the original text: '1. **Acquire** an access token.'
Co-Authored-By: Jayant <[email protected]>
* Fix prettier formatting in acquire-access-token.mdx
- Apply prettier formatting to Callout component text
- Break long line into multiple lines with proper indentation
- Resolves pre-commit CI failure
Co-Authored-By: Jayant <[email protected]>
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Jayant <[email protected]>
This guide explains how to acquire an access token for Pyth Lazer, which is required to authenticate websocket connections and subscribe to price updates.
6
+
7
+
## Request Access Token
8
+
9
+
Please fill out [this form](https://tally.so/r/nP2lG5) to contact the Pyth team and get the access token.
10
+
11
+
<Callouttype="info">
12
+
Access tokens are required for all Pyth Lazer websocket connections. Make sure
13
+
to keep your token secure and do not share it publicly.
14
+
</Callout>
15
+
16
+
## Using the Access Token
17
+
18
+
Once you receive your access token, use it to authenticate the websocket connection by passing it as an `Authorization` header with the value `Bearer {token}`.
0 commit comments