Skip to content

Agent Mesh

docs: list the control plane routes that allow any browser origin

Tomas Tormo47710f530992
diff --git a/site/content/docs/reference/control-plane.md b/site/content/docs/reference/control-plane.md
index 539d6d47..07d8dfdd 100644
--- a/site/content/docs/reference/control-plane.md
+++ b/site/content/docs/reference/control-plane.md
@@ -63,6 +63,14 @@ the encoding of the request. These routes answer in other formats:
Responses that carry credentials are sent with `Cache-Control: no-store`.
+The routes a member may call from a browser send
+`Access-Control-Allow-Origin: *` and answer `OPTIONS` with `204`. These are
+the unauthenticated routes other than `/healthz`, `/readyz`, `/metrics` and
+`/oauth/authorize`, and the enrollment, refresh and STS routes other than
+`/routers/lease` and `/nodes/catalog`. Routes under `/admin/` and `/user/`
+send no CORS headers. `POST /policies` and `PUT /policies` do send them,
+because they share the `/policies` route with `GET /policies`.
+
### Unauthenticated
| Route | Purpose |