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

   ### Description
   
   我创建了service,路由绑定了service, 
   
   
   首先我创建了消费者zhangsan
   使用方式如下
   
方式一:route1->service1(启用了basic-auth和consumer-restriction插件,并在consumer-restriction设置了白名单zhangsan)->upstream1
   
方式二:route2(启用basic-auth插件)->service(启用consumer-restriction插件,并在consumer-restriction设置了白名单zhangsan)->upstream1
   我发现只有方式二认证生效,请问basic-auth认证类插件不能在service上使用吗?
   
   
   
   
   ### Environment
   
   - APISIX version (run `apisix version`):
   - Operating system (run `uname -a`):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl 
http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


-- 
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-unsubscr...@apisix.apache.org.apache.org

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

Reply via email to