fix(openclaw): add token binding to gateway auth config
Subagents require the gateway token to be explicitly defined in the config to inherit it correctly. Interpolate the OPENCLAW_GATEWAY_TOKEN env variable in the auth config.
This commit is contained in:
parent
262887e5ea
commit
631a874c75
1 changed files with 2 additions and 1 deletions
|
|
@ -4,7 +4,8 @@
|
||||||
"bind": "loopback",
|
"bind": "loopback",
|
||||||
"trustedProxies": ["::1", "127.0.0.1", "10.88.0.0/16", "10.89.0.0/16"],
|
"trustedProxies": ["::1", "127.0.0.1", "10.88.0.0/16", "10.89.0.0/16"],
|
||||||
"auth": {
|
"auth": {
|
||||||
"mode": "token"
|
"mode": "token",
|
||||||
|
"token": "${OPENCLAW_GATEWAY_TOKEN}"
|
||||||
},
|
},
|
||||||
"controlUi": {
|
"controlUi": {
|
||||||
"dangerouslyAllowHostHeaderOriginFallback": true,
|
"dangerouslyAllowHostHeaderOriginFallback": true,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue