Skip to content

feat: Add X-OpenClaw-Session-Key header support for per-user sessions#22

Open
mikehole wants to merge 1 commit intocontextablemark:mainfrom
Prodigi-Group:upstream-pr
Open

feat: Add X-OpenClaw-Session-Key header support for per-user sessions#22
mikehole wants to merge 1 commit intocontextablemark:mainfrom
Prodigi-Group:upstream-pr

Conversation

@mikehole
Copy link

@mikehole mikehole commented Mar 19, 2026

Adds support for the X-OpenClaw-Session-Key header to enable per-user session isolation in multi-user applications.

When the header is present, it overrides the route-derived session key, allowing applications to key sessions by user identity rather than threadId.

Use case: Web apps where multiple authenticated users share an AG-UI client (e.g., CopilotKit) and need isolated conversation histories.

Adds support for the X-OpenClaw-Session-Key header to enable per-user
session isolation in multi-user applications.

When the header is present, it overrides the route-derived session key,
allowing applications to key sessions by user identity rather than
threadId.

Use case: Web apps where multiple authenticated users share an AG-UI
client (e.g., CopilotKit) and need isolated conversation histories.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant