Skip to content
Merged
Changes from all commits
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
5 changes: 3 additions & 2 deletions posthog/mcp/session_token.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
So at ``initialize`` we mint that header as a token carrying the session id and
client identity -- any pod can read them back from the header alone.

The token is unsigned: it holds only what the client already self-reports. It is
wire-compatible with the TypeScript SDK (same short keys ``sid``/``cn``/``cv``/``pv``),
The token is unsigned, so clients can change its contents. Use decoded values
for analytics, not authentication or authorization. It is wire-compatible with
the TypeScript SDK (same short keys ``sid``/``cn``/``cv``/``pv``),
so a token minted by one SDK decodes in the other.
"""

Expand Down
Loading