mirror of
https://github.com/reconurge/flowsint.git
synced 2026-07-11 22:16:24 -05:00
[PR #165] [MERGED] fix(sse): auth header #3240
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/reconurge/flowsint/pull/165
Author: @dextmorgn
Created: 6/3/2026
Status: ✅ Merged
Merged: 6/3/2026
Merged by: @dextmorgn
Base:
main← Head:fix/sse-auth-header📝 Commits (6)
078ac77build(app): add fetch-event-source + vitest test runner6e5f26afeat(app): add connectSSE helper with header auth and backoffd7f21e9refactor(app): stream logs via connectSSE (token out of URL)4a75d6arefactor(app): stream graph status via connectSSE (token out of URL)9db1e67test(api): SSE auth-gate and endpoint-removal tests (red)b317e08feat(api): authenticate SSE via header, drop query-param auth and dead route📊 Changes
11 files changed (+555 additions, -178 deletions)
View changed files
📝
flowsint-api/app/api/deps.py(+1 -41)📝
flowsint-api/app/api/routes/events.py(+4 -50)➕
flowsint-api/tests/conftest.py(+38 -0)➕
flowsint-api/tests/test_events_auth.py(+50 -0)📝
flowsint-app/package.json(+4 -1)➕
flowsint-app/src/api/sse.test.ts(+117 -0)➕
flowsint-app/src/api/sse.ts(+72 -0)📝
flowsint-app/src/hooks/use-events.ts(+13 -36)📝
flowsint-app/src/hooks/use-graph-refresh.ts(+28 -47)➕
flowsint-app/vitest.config.ts(+13 -0)📝
yarn.lock(+215 -3)📄 Description
fixes https://github.com/reconurge/flowsint/issues/145
closes https://github.com/reconurge/flowsint/pull/162
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.