Skip to content

Commit ed0c873

Browse files
authored
Use auth token for OpenClaw signatures (#484)
- Accept non-empty auth values when building the gateway signature token - Keep device and other authenticated sessions from falling back to none
1 parent d5848ba commit ed0c873

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/server/src/provider/Layers/OpenClawGatewayClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ function buildConnectParams(input: {
445445
deviceToken: input.auth.value,
446446
}
447447
: undefined;
448-
const signatureToken = input.auth.kind === "deviceToken" ? input.auth.value : undefined;
448+
const signatureToken = input.auth.kind !== "none" ? input.auth.value : undefined;
449449
return {
450450
minProtocol: OPENCLAW_PROTOCOL_VERSION,
451451
maxProtocol: OPENCLAW_PROTOCOL_VERSION,

0 commit comments

Comments
 (0)