From 887f4867ab167614838d986fa7d0edf3048a48e3 Mon Sep 17 00:00:00 2001 From: Chris Scott <99081550+chriswritescode-dev@users.noreply.github.com> Date: Sat, 24 Jan 2026 18:28:59 -0500 Subject: [PATCH] Fix SSE auth by adding withCredentials for cross-origin support --- frontend/src/lib/sseManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/lib/sseManager.ts b/frontend/src/lib/sseManager.ts index 4d190957..87cdd0b3 100644 --- a/frontend/src/lib/sseManager.ts +++ b/frontend/src/lib/sseManager.ts @@ -162,7 +162,7 @@ class SSEManager { if (this.eventSource) return const url = this.buildUrl() - this.eventSource = new EventSource(url) + this.eventSource = new EventSource(url, { withCredentials: true }) this.eventSource.onopen = () => { this.isConnected = true