-
Notifications
You must be signed in to change notification settings - Fork 355
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Feature suggestion: support forward auth for Ingress resource #767
Comments
Hi, These annotations are not parsed by APISIX Ingress Controller, and what's more, the underlying APISIX doesn't support the forward auth feature. It seems that we have some issues in APISIX repo with the related topic apache/apisix#5475. |
|
That's right, you can implement a custom plugin to support it, but it would better if you'd like to design a generic solution and send a proposal to the mailing list (dev@apisix.apache.org), then others can also use it if they desire. |
I would like to implement a custom plugin to support it , but I found that I can use severless plugin for custom authentication , But I see the serverless plugin documentation is only written as a function, I want to write an http proxy in it, this plug-in can support it? |
Sure, you can do anything in the server-less functions. |
We need to wait for APISIX to implement this feature before we can start |
APISIX has implemented the forward-auth plugin. We can consider adding support for this feature. But before we start we need a design proposal. |
I edited the title to make it more clear. Maybe we just need to add some annotations to support it. |
I want to try to implement this. Plz assign to me. |
thanks @cmssczy |
So how's the thing going about this plugin ? |
@tao12345666333 Terrrrrific! Thank all of you ! |
@mhh12121 you can see the example here https://github.com/apache/apisix-ingress-controller/blob/master/test/e2e/suite-annotations/forward_auth.go |
@tao12345666333 Thank you! I've already tried it not only with ApiRoute but also Ingress way; As the result, the
Instead, I succeed by
Could you please have a check? |
@mhh12121 In the above e2e we already have test cases for coverage. |
Issue description
Does apisix-ingress-controller support these annotations, I directly use is not effective. I mainly want to use these annotations for external authentication services

Environment
apisix-ingress-controller version --long
);kubectl version
);uname -a
).The text was updated successfully, but these errors were encountered: