tao-shen Claude Opus 4.6 commited on
Commit
d2e3735
·
1 Parent(s): a18f6b8

fix: restore dangerouslyDisableDeviceAuth for HF Spaces

Browse files

HF Spaces has no CLI access, so device pairing approval is impossible.
Must keep dangerouslyDisableDeviceAuth=true; access control relies on
the gateway token instead.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Files changed (2) hide show
  1. openclaw.json +1 -0
  2. scripts/sync_hf.py +1 -0
openclaw.json CHANGED
@@ -9,6 +9,7 @@
9
  ],
10
  "controlUi": {
11
  "allowInsecureAuth": true,
 
12
  "allowedOrigins": [
13
  "https://huggingface.co",
14
  "https://*.hf.space"
 
9
  ],
10
  "controlUi": {
11
  "allowInsecureAuth": true,
12
+ "dangerouslyDisableDeviceAuth": true,
13
  "allowedOrigins": [
14
  "https://huggingface.co",
15
  "https://*.hf.space"
scripts/sync_hf.py CHANGED
@@ -431,6 +431,7 @@ class OpenClawFullSync:
431
  "trustedProxies": ["0.0.0.0/0"],
432
  "controlUi": {
433
  "allowInsecureAuth": True,
 
434
  "allowedOrigins": allowed_origins
435
  }
436
  }
 
431
  "trustedProxies": ["0.0.0.0/0"],
432
  "controlUi": {
433
  "allowInsecureAuth": True,
434
+ "dangerouslyDisableDeviceAuth": True,
435
  "allowedOrigins": allowed_origins
436
  }
437
  }