Hi, I'm building a custom browser-based chat interface for OpenClaw. My webchat client connects successfully to the gateway but gets these errors on every request:
- chat.history fails: missing scope: operator.read
- chat.send fails: missing scope: operator.write
My connect params:
- client.id: "gateway-client"
- client.mode: "backend"
- role: "operator"
- scopes: ["operator.read", "operator.write"]
- auth.token: [shared gateway token - redacted]
Gateway version: 2026.5.3-1
Running on loopback (127.0.0.1)
What am I missing to get operator scopes granted to a browser webchat client?