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 || '';