Authenticate the board event stream #82
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/bb-93-authenticated-events"
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?
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, andnpm run build. Repository-widecargo fmt --checkreports existing formatting drift in untouched files; changed files were formatted.Closes #80
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.