From cd08512840077599a60520e6e07efa825754fc83 Mon Sep 17 00:00:00 2001 From: Val Alexander Date: Mon, 20 Apr 2026 14:54:54 -0500 Subject: [PATCH] Use auth token for OpenClaw signatures - Accept non-empty auth values when building the gateway signature token - Keep device and other authenticated sessions from falling back to none --- apps/server/src/provider/Layers/OpenClawGatewayClient.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/server/src/provider/Layers/OpenClawGatewayClient.ts b/apps/server/src/provider/Layers/OpenClawGatewayClient.ts index d74c8cb1..bddfadbd 100644 --- a/apps/server/src/provider/Layers/OpenClawGatewayClient.ts +++ b/apps/server/src/provider/Layers/OpenClawGatewayClient.ts @@ -445,7 +445,7 @@ function buildConnectParams(input: { deviceToken: input.auth.value, } : undefined; - const signatureToken = input.auth.kind === "deviceToken" ? input.auth.value : undefined; + const signatureToken = input.auth.kind !== "none" ? input.auth.value : undefined; return { minProtocol: OPENCLAW_PROTOCOL_VERSION, maxProtocol: OPENCLAW_PROTOCOL_VERSION,