diff --git a/README.md b/README.md index e90f967..c9328ab 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,20 @@ This repo also includes a small Python server that serves local video files with - Served as: `http://localhost:8001/media/` - List endpoint: `http://localhost:8001/api/media` +### Authentication (required) +By default, the Python server requires a valid Oscar-Pool JWT (same `JWT_SECRET` as your Node app). + +- The server loads `./.env` automatically (so it can reuse `JWT_SECRET`) +- The web player sends auth automatically: + - direct `/media/*` and `/hls/*` requests use `?token=` (needed for the `