Merge pull request #3496 from SDA-SE/feat/limit-proxy-response-headers

Filter the response headers in the proxy backend
This commit is contained in:
Fredrik Adelöw
2020-12-01 10:53:02 +01:00
committed by GitHub
4 changed files with 108 additions and 4 deletions
+7
View File
@@ -0,0 +1,7 @@
---
'@backstage/plugin-proxy-backend': patch
---
Filter the headers that are sent from the proxied-targed back to the frontend to not forwarded unwanted authentication or
monitoring contexts from other origins (like `Set-Cookie` with e.g. a google analytics context). The implementation reuses
the `allowedHeaders` configuration that now controls both directions `frontend->target` and `target->frontend`.