Stop allowing credentialed cross-origin requests (closes #261) #269

Merged
clawbot merged 1 commits from issue-261-no-cors into next 2026-11-11 01:22:39 +01:00
1 Commits
Author SHA1 Message Date
clawbot 9c8b70ed36 Stop allowing credentialed cross-origin requests (closes #261)
check / check (push) Failing after 3s
CORS() allowed every origin with credentials, so a page on another
origin of the same site could read what the signed-in user sees. It
now uses the options of the CONVENTIONS.md template: every origin as
*, no credentials. It applies only to GET /api/v1/server and
GET /.well-known/healthcheck.json, the public read-only routes, since
REPO_POLICIES.md forbids * on authenticated routes. Every other route
sends no Access-Control-Allow-* header.

Model: opus-5-5
2026-11-10 23:13:19 +00:00