Skip to content

Commit 87462a7

Browse files
authored
chore: remove basic auth from demo Caddyfile (#1278)
Basic auth blocks MCP clients from connecting without credentials. The demo environment is behind Cloudflare and Dex OIDC handles actual authentication. Removing basic auth allows MCP clients (Claude Desktop, Claude Code) to connect directly. Co-authored-by: Ben Coombs <bjcoombs@users.noreply.github.com>
1 parent 007afa9 commit 87462a7

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

deploy/demo/Caddyfile

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,6 @@
77
demo.meridianhub.cloud, *.demo.meridianhub.cloud {
88
tls /etc/caddy/certs/origin-cert.pem /etc/caddy/certs/origin-key.pem
99

10-
# Protect the demo site with HTTP basic auth, excluding specific paths.
11-
# MCP clients authenticate via Bearer tokens (when OAuth is enabled),
12-
# not HTTP basic auth.
13-
@protected {
14-
not path /healthz /readyz /mcp /mcp/* /sse /sse/* /message /message/* /.well-known/*
15-
}
16-
basicauth @protected {
17-
demo $2a$14$xfFb2xnq6vOhKOEh7TTgTula3G.F6MxoT7DawQLGBPziCgjTcWCrS
18-
}
19-
2010
# Health/readiness probes (used by Docker and load balancers)
2111
handle /healthz {
2212
reverse_proxy meridian:8090

0 commit comments

Comments
 (0)