mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 09:37:41 +00:00
fix(gateway): scope tailscale tokenless auth to websocket
This commit is contained in:
@@ -155,6 +155,7 @@ async function authorizeCanvasRequest(params: {
|
||||
connectAuth: { token, password: token },
|
||||
req,
|
||||
trustedProxies,
|
||||
allowTailscaleHeaderAuth: false,
|
||||
rateLimiter,
|
||||
});
|
||||
if (authResult.ok) {
|
||||
@@ -532,6 +533,7 @@ export function createGatewayHttpServer(opts: {
|
||||
connectAuth: token ? { token, password: token } : null,
|
||||
req,
|
||||
trustedProxies,
|
||||
allowTailscaleHeaderAuth: false,
|
||||
rateLimiter,
|
||||
});
|
||||
if (!authResult.ok) {
|
||||
|
||||
Reference in New Issue
Block a user