feat: authenticate all ocman-to-OpenCode traffic #377
Labels
No labels
backend
bug
chore
duplication
effort:complex
effort:medium
effort:trivial
enhancement
frontend
fullstack
priority:high
ready-for-agent
refactor
security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dries/ocman#377
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Parent
#375
What to build
Allow ocman-managed OpenCode servers to require
OPENCODE_SERVER_PASSWORDwithout breaking any session feature. Authentication must be injected at launch and applied consistently by every HTTP and SSE client, including code paths that currently construct OpenCode requests independently.The secret must not be returned to the browser, written to logs, exposed in runtime diagnostics, or persisted in plaintext unless a reviewed secret-storage mechanism is used. Native mode must remain usable when authentication is disabled.
Acceptance criteria
Blocked by
None - can start immediately.