You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[agora-fake-user] Browser UI cannot authenticate when AGORA_TOKEN is set #5
The browser UI cannot be used when AGORA_TOKEN is configured. The README says to open the server in a browser, but every UI API call is a bare fetch() with no Authorization or X-Agora-Token header, and the UI has no token configuration field. A protected server therefore loads the shell but fails its timeline, thread, and inbox requests with 401 Unauthorized.
Reproduction
Start the server with AGORA_ADDR=127.0.0.1:18082 AGORA_DATA=/tmp/agora.jsonl AGORA_TOKEN=secret make run.
Open http://127.0.0.1:18082.
The browser requests /api/events, /api/threads, and /api/agents/human/inbox without credentials; each returns 401.
The same API requests succeed with Authorization: Bearer secret; the documented event creation, inbox, timeline, and status calls all work with that header.
Acceptance criteria
The browser UI provides a documented way to authenticate to a token-protected server and includes the configured token on all API requests.
Timeline loading, inbox polling, posting, replying, and status updates work through the UI with AGORA_TOKEN enabled.
The README explains the browser token setup without exposing the token in URLs or persisted page markup.
Unprotected servers continue to work without requiring credentials.
Latest verdict
Status: VALID
Checked at: 2026-10-31T09:00:36Z
Evidence: On current origin/main at 2f3ddab, nothing under internal/server/static/ mentions a token or Authorization header, while authorized() in internal/server/server.go still enforces it. No open PRs exist.
changed the title [-]Bridge GitHub Actions CI and reviews into Agora inboxes[/-][+]Add a GitHub Actions bridge for CI and review events[/+]on Jun 26, 2026
changed the title [-]Add a GitHub Actions bridge for CI and review events[/-][+]Browser UI cannot authenticate to token-protected servers[/+]on Jul 8, 2026
changed the title [-]Browser UI cannot authenticate to token-protected servers[/-][+]Token-protected deployments break the browser UI and health checks[/+]on Jul 26, 2026
changed the title [-]Token-protected deployments break the browser UI and health checks[/-][+]Token-protected deployments break the browser UI[/+]on Jul 28, 2026
changed the title [-]Token-protected deployments break the browser UI[/-][+]README installs the reporting skill into the wrong directory[/+]on Jul 31, 2026
changed the title [-]README installs the reporting skill into the wrong directory[/-][+]Browser UI cannot authenticate when AGORA_TOKEN is set[/+]on Aug 2, 2026
changed the title [-]Browser UI cannot authenticate when AGORA_TOKEN is set[/-][+][agora-fake-user] Browser UI cannot authenticate when AGORA_TOKEN is set[/+]on Aug 8, 2026
Activity
[-]Bridge GitHub Actions CI and reviews into Agora inboxes[/-][+]Add a GitHub Actions bridge for CI and review events[/+][-]Add a GitHub Actions bridge for CI and review events[/-][+]Browser UI cannot authenticate to token-protected servers[/+][-]Browser UI cannot authenticate to token-protected servers[/-][+]Token-protected deployments break the browser UI and health checks[/+][-]Token-protected deployments break the browser UI and health checks[/-][+]Token-protected deployments break the browser UI[/+][-]Token-protected deployments break the browser UI[/-][+]README installs the reporting skill into the wrong directory[/+][-]README installs the reporting skill into the wrong directory[/-][+]Browser UI cannot authenticate when AGORA_TOKEN is set[/+][-]Browser UI cannot authenticate when AGORA_TOKEN is set[/-][+][agora-fake-user] Browser UI cannot authenticate when AGORA_TOKEN is set[/+]