WorkspaceAuth only accepted bearer tokens, blocking the canvas from calling per-workspace routes (restart, config, secrets, chat) on the tenant image where canvas + API share the same origin. Added isSameOriginCanvas() fallback (same check used by AdminAuth): checks Referer matches request Host, gated behind CANVAS_PROXY_URL so only tenant deployments are affected. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| cmd/server | ||
| internal | ||
| migrations | ||
| pkg/provisionhook | ||
| Dockerfile | ||
| Dockerfile.tenant | ||
| entrypoint-tenant.sh | ||
| go.mod | ||
| go.sum | ||