diff --git a/backend/core/src/main/java/org/sonarsource/sonarlint/core/embedded/server/CorsFilter.java b/backend/core/src/main/java/org/sonarsource/sonarlint/core/embedded/server/CorsFilter.java index 78b6462736..682a76503e 100644 --- a/backend/core/src/main/java/org/sonarsource/sonarlint/core/embedded/server/CorsFilter.java +++ b/backend/core/src/main/java/org/sonarsource/sonarlint/core/embedded/server/CorsFilter.java @@ -44,6 +44,7 @@ public void handle(ClassicHttpRequest request, HttpFilterChain.ResponseTrigger r } response.addHeader("Access-Control-Allow-Methods", "GET, POST, OPTIONS"); response.addHeader("Access-Control-Allow-Private-Network", true); + response.addHeader("Access-Control-Allow-Headers", "baggage, sentry-trace"); responseTrigger.submitResponse(response); } else { chain.proceed(request, new HttpFilterChain.ResponseTrigger() {