Skip to content

fix: support Nginx Basic Auth for Agent Commons admin without second login - #4

Merged
oliverboehm-xgr merged 5 commits into
mainfrom
fix/agent-commons-nginx-basic-auth
Oct 23, 2026
Merged

oliverboehm-xgr merged 5 commits into
mainfrom
fix/agent-commons-nginx-basic-auth

Conversation

@oliverboehm-xgr

Copy link
Copy Markdown
Member

Introduce optional MCP_AGENT_COMMONS_ADMIN_AUTH_MODE=nginx_basic. Nginx protects /agent-commons/admin and /agent-commons/admin/api/*; the backend independently verifies the Authorization header against a configured password SHA-256 and username, including direct local requests. The browser skips the extra internal login. Default session-login mode remains unchanged. Not enabled in production. Requires testing before merging and requires Nginx Basic Auth setup and matching password hash in service environment.

@oliverboehm-xgr
oliverboehm-xgr merged commit 7bf15bc into main Oct 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant