Authenticate the board event stream #82

Merged
Breadway merged 1 commit from fix/bb-93-authenticated-events into main 2026-10-02 12:00:40 +08:00
Owner

Require a valid session cookie or bearer token for /events, preventing unauthenticated subscribers from receiving board keys and sync drift values. Browser EventSource clients continue to use their session cookie, and CLI/TUI clients can use bearer tokens.

Verified with cargo build --workspace, cargo test --workspace, cargo clippy --workspace --all-targets -- -D warnings, cargo run -p xtask -- check-docs, npm run check -w breadboard-web, and npm run build. Repository-wide cargo fmt --check reports existing formatting drift in untouched files; changed files were formatted.

Closes #80

Require a valid session cookie or bearer token for `/events`, preventing unauthenticated subscribers from receiving board keys and sync drift values. Browser EventSource clients continue to use their session cookie, and CLI/TUI clients can use bearer tokens. Verified with `cargo build --workspace`, `cargo test --workspace`, `cargo clippy --workspace --all-targets -- -D warnings`, `cargo run -p xtask -- check-docs`, `npm run check -w breadboard-web`, and `npm run build`. Repository-wide `cargo fmt --check` reports existing formatting drift in untouched files; changed files were formatted. Closes #80
fix: authenticate board event stream
All checks were successful
check / check (push) Successful in 4m7s
5b659de0f7
Author
Owner

Implementation is available in PR #82 at 5b659de0f7dac7c88fb3fefcda2c81086311b1c1. Local verification passed: workspace build, tests, Clippy, check-docs, web check, and npm build. Exact-head CI is pending and waiting to run; if it fails, move this card back to TODO.

Implementation is available in PR #82 at `5b659de0f7dac7c88fb3fefcda2c81086311b1c1`. Local verification passed: workspace build, tests, Clippy, check-docs, web check, and npm build. Exact-head CI is pending and waiting to run; if it fails, move this card back to TODO.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Breadway/breadboard!82
No description provided.