doc: adding notes about header priority (#25959)
closes: keycloak#23023 Signed-off-by: Steve Hawkins <shawkins@redhat.com>
This commit is contained in:
parent
3c05c123ea
commit
41dd1d2161
2 changed files with 6 additions and 0 deletions
|
@ -103,4 +103,8 @@ $ kubectl get keycloaks.k8s.keycloak.org
|
|||
The new operator doesn't support Client, User and Realm CRDs directly. Instead, it provides one CRD to perform a https://www.keycloak.org/operator/realm-import.html[Realm import].
|
||||
Using this new CR you can import Users, Clients and more through the wrapping Realm.
|
||||
|
||||
== Priority of X-Forwarded-* Headers
|
||||
|
||||
In Quarkus the X-Forwarded-Port header takes precedence over any port included in the X-Forwarded-Host. This differs from the WildFly distribution where a port included in X-Forwarded-Host had priority over X-Forwarded-Port.
|
||||
|
||||
</@tmpl.guide>
|
||||
|
|
|
@ -27,6 +27,8 @@ WARNING: If either `forwarded` or `xforwarded` is selected, make sure your rever
|
|||
Take extra precautions to ensure that the client address is properly set by your reverse proxy via the `Forwarded` or `X-Forwarded-For` headers.
|
||||
If this header is incorrectly configured, rogue clients can set this header and trick {project_name} into thinking the client is connected from a different IP address than the actual address. This precaution can be more critical if you do any deny or allow listing of IP addresses.
|
||||
|
||||
NOTE: When using the `xforwarded` setting, the `X-Forwarded-Port` takes precedence over any port included in the `X-Forwarded-Host`.
|
||||
|
||||
== Proxy modes
|
||||
NOTE: The support for setting proxy modes is deprecated and will be removed in a future {project_name} release. Consider configuring accepted reverse proxy headers instead as described in the chapter above. For migration instructions consult the https://www.keycloak.org/docs/latest/upgrading/index.html#deprecated-proxy-option[Upgrading Guide].
|
||||
|
||||
|
|
Loading…
Reference in a new issue