You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "joyyir (via GitHub)" <gi...@apache.org> on 2023/03/14 05:02:57 UTC

[GitHub] [apisix] joyyir opened a new issue, #9060: feat: The forward-auth plugin discards any pre-existing `X-Forwarded` prefix headers within the request.

joyyir opened a new issue, #9060:
URL: https://github.com/apache/apisix/issues/9060

   ### Description
   
   My system utilizes AWS ALB as a front-end for APISIX, and as a result, AWS ALB includes `X-Forwarded` prefix headers. You can find additional information about this in the documentation.
   https://docs.aws.amazon.com/elasticloadbalancing/latest/application/x-forwarded-headers.html
   
   Since the forward-auth plugin adds its own `X-Forwarded` prefix headers, any `X-Forwarded` prefix headers that are added by AWS ALB are disregarded. Consequently, the external authentication service is unable to determine the protocol originally used by the client.
   
   I am requesting a feature that would allow for the preservation of specific request headers.
   Thank you.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] creib commented on issue #9060: feat: The forward-auth plugin discards any pre-existing `X-Forwarded` prefix headers within the request.

Posted by "creib (via GitHub)" <gi...@apache.org>.
creib commented on issue #9060:
URL: https://github.com/apache/apisix/issues/9060#issuecomment-1622019483

   > My system utilizes AWS ALB as a front-end for APISIX, and as a result, AWS ALB response includes `X-Forwarded` prefix headers. You can find additional information about this in the documentation.
   
   Hi, one question from my side. Are you using the APISIX Ingress controller and if so, did you setup via Helm chart? I don't know how to configure the AWS ALB in the Helm Chart...
   Thanks a lot
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] yujinchoi-94 commented on issue #9060: feat: The forward-auth plugin discards any pre-existing `X-Forwarded` prefix headers within the request.

Posted by "yujinchoi-94 (via GitHub)" <gi...@apache.org>.
yujinchoi-94 commented on issue #9060:
URL: https://github.com/apache/apisix/issues/9060#issuecomment-1482127793

   Same here. I also want to use the original value of`X-Forwarded-Method` not a forward-auth plugin generated one.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org