Sushant Patil
02/04/2026, 1:27 PMManas (OpenObserve)
02/04/2026, 1:37 PMSushant Patil
02/04/2026, 1:47 PM<http://www.example.com|www.example.com>, so even if the token is exposed, requests from other domains/origins shouldn’t be able to send data. This is mainly for RUM (frontend errors & sessions) and backend logs.Manas (OpenObserve)
02/04/2026, 2:07 PMManas (OpenObserve)
02/04/2026, 2:36 PMMd Mosaraf (OpenObserve)
02/04/2026, 2:47 PMSushant Patil
02/04/2026, 3:03 PMSushant Patil
02/05/2026, 11:14 AMSushant Patil
05/25/2026, 9:10 AMManas (OpenObserve)
05/25/2026, 9:28 AMSushant Patil
05/25/2026, 2:51 PMSubhradeep Chakraborty
05/26/2026, 5:27 AMZO_CORS_ALLOWED_ORIGINS — comma-separated list of extra CORS origins allowed alongside ZO_WEB_URL.
Default: "" (empty → no extra origins)
How it works:
CORS middleware checks Origin header against ZO_WEB_URL first
If no match, iterates each origin listed in ZO_CORS_ALLOWED_ORIGINS
Both checks extract <scheme://host>[:port] (no path) for exact byte comparison — prevents prefix-match bypasses
Example:
ZO_CORS_ALLOWED_ORIGINS=<http://localhost:8081>,<https://staging.example.com>