From c2cfadd281ed3cb5e6bbff18ffd84b5e4c1a0c69 Mon Sep 17 00:00:00 2001 From: Oliver Kieselbach Date: Tue, 10 Feb 2026 23:22:10 +0100 Subject: [PATCH] skip requesting cookie-session --- src/Web/autopilot-monitor-web/contexts/SignalRContext.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Web/autopilot-monitor-web/contexts/SignalRContext.tsx b/src/Web/autopilot-monitor-web/contexts/SignalRContext.tsx index 87836b5d..34c3a83b 100644 --- a/src/Web/autopilot-monitor-web/contexts/SignalRContext.tsx +++ b/src/Web/autopilot-monitor-web/contexts/SignalRContext.tsx @@ -41,6 +41,7 @@ export function SignalRProvider({ children }: { children: React.ReactNode }) { const hubUrl = `${API_BASE_URL}/api/realtime`; const newConnection = new signalR.HubConnectionBuilder() .withUrl(hubUrl, { + withCredentials: false, accessTokenFactory: async () => { const token = await getAccessToken(); return token || '';