From 06e480f2b46595a59b6870b7ddd9cc7ac60101d8 Mon Sep 17 00:00:00 2001 From: ZGaetano Date: Sun, 31 May 2026 23:11:40 -0400 Subject: [PATCH] Add NODE_AGENT_TOKEN to .env.example node-agent needs bearer token to auth with mam-api /driver/* endpoints. Missing token causes 401 on driver status checks. Generate with: openssl rand -hex 32 --- .env.example | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.env.example b/.env.example index 493f47f..05b20c3 100644 --- a/.env.example +++ b/.env.example @@ -22,6 +22,11 @@ SESSION_SECRET=changeme # MAM API Configuration MAM_API_URL=http://mam-api:3000 +# Node Agent Authentication +# Bearer token for node-agent to authenticate with mam-api /driver/* endpoints. +# Generate with: openssl rand -hex 32 +NODE_AGENT_TOKEN=changeme + # Auth — default to ON in production. Setting to 'false' is a dev-only escape # hatch that disables all auth checks and attaches a synthetic 'dev' user to # every request. Never run with AUTH_ENABLED=false on a network you don't control.