Skip to content
Latchkey

CORS - CI/CD Glossary Definition

CORS (Cross-Origin Resource Sharing) is a browser security mechanism where a server uses Access-Control-Allow-Origin and related headers to permit pages from other origins to call its API.

Why it matters

End-to-end browser tests in CI frequently fail with a CORS error when the test frontend and backend run on different ports or hosts and the allowed-origins list was not updated for the test environment.

Related guides

Tired of flaky CI? Latchkey auto-heals failed jobs and retries them for you. Start free →