zitadel/internal/api/http/middleware
Livio Spring b1f5b1979c
fix: respect x-zitadel-forwarded header again (#8473)
# Which Problems Are Solved

#8369 added the possibility to handle trusted domains for public hosts
as response. Additionally, the OIDC issuer is extracted from the
`DomainContext` and not from headers anymore.
This accidentally dropped support for the `x-zitadel-forwarded`.

# How the Problems Are Solved

Added `x-zitadel-forwarded` in the list of additionally handled headers.

# Additional Changes

None

# Additional Context

- relates to #8369
- reported in Discord:
https://discord.com/channels/927474939156643850/1275484169626980403
2024-08-21 16:36:16 +00:00
..
access_interceptor.go feat: trusted (instance) domains (#8369) 2024-07-31 18:00:38 +03:00
activity_interceptor.go feat: add SYSTEM_OWNER role (#6765) 2023-10-25 15:10:45 +00:00
auth_interceptor.go feat: add SYSTEM_OWNER role (#6765) 2023-10-25 15:10:45 +00:00
cache_interceptor_test.go fix: improvements for login and oidc (#227) 2020-06-17 08:06:40 +02:00
cache_interceptor.go fix: caching of assets (correct headers and versioned avatar and variables.css url) (#4118) 2022-08-16 05:04:36 +00:00
call_interceptor.go perf: query data AS OF SYSTEM TIME (#5231) 2023-02-27 22:36:43 +01:00
cors_interceptor.go fix(CORS): add X-Requested-With to Access-Control-Request-Headers (#5009) 2023-01-09 13:37:10 +01:00
csp.go feat: enable iframe use (#4766) 2022-12-14 07:17:36 +01:00
instance_interceptor_test.go feat(v3alpha): read actions (#8357) 2024-08-12 22:32:01 +02:00
instance_interceptor.go feat: trusted (instance) domains (#8369) 2024-07-31 18:00:38 +03:00
metrics_interceptor.go feat: add http_server_return_code_counter metric to gateway (#8173) 2024-07-04 09:37:23 +00:00
middleware_test.go feat: restrict languages (#6931) 2023-12-05 11:12:01 +00:00
origin_interceptor_test.go feat: trusted (instance) domains (#8369) 2024-07-31 18:00:38 +03:00
origin_interceptor.go fix: respect x-zitadel-forwarded header again (#8473) 2024-08-21 16:36:16 +00:00
robots_tag_interceptor_test.go fix: introduce measures to avoid bots crawling and indexing activities (#5728) 2023-05-05 10:25:02 +02:00
robots_tag_interceptor.go fix: introduce measures to avoid bots crawling and indexing activities (#5728) 2023-05-05 10:25:02 +02:00
security_headers.go feat: enable iframe use (#4766) 2022-12-14 07:17:36 +01:00
telemetry_interceptor.go refactor(fmt): run gci on complete project (#7557) 2024-04-03 10:43:43 +00:00
user_agent_cookie.go fix: set user agent cookie on host only (without subdomains) (#7297) 2024-02-15 07:53:59 +01:00