Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot setting response header and proxy to backend at the same time in go plugin #62

Closed
jthann opened this issue Jan 27, 2022 · 6 comments
Labels
enhancement New feature or request

Comments

@jthann
Copy link

jthann commented Jan 27, 2022

Issue description

I am developing a sso login plugin using apisix-go-plugin-runner. After setting response headers like cookies, the response will just return to client, what I expect is setting cookies in response header and sending request to backend service at the same time. Can anyone help solving this problem?

Environment

  • APISIX Go Plugin Runner's version: 0.2.0
  • APISIX version: 2.12.0
  • Go version: 1.17.4
  • OS (cmd: uname -a): macOS
@spacewander
Copy link
Member

Not support yet.

@spacewander
Copy link
Member

Maybe we can implement it in the 0.3.0, which is planned to release in March?

@rampagecong
Copy link
Contributor

Think you!

@spacewander
Copy link
Member

Already done.

@jthann
Copy link
Author

jthann commented Apr 14, 2022

The issue is still not resolved,The new version 0.3.0 released just lost response headers @spacewander

@spacewander
Copy link
Member

You need to use APISIX 2.13.0, see apache/apisix#6426

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants