shreemaan-abhishek commented on issue #9328:
URL: https://github.com/apache/apisix/issues/9328#issuecomment-1512918998

   Did you try it to see if it matches your expectation?
   
   > what should I return to let limit-count know the consumer associated with 
the request?
   
   1. I do not understand clearly. When using the`forward-auth` plugin, you do 
not have control over what it returns; the response is dependent on the type of 
request you send and the authentication server.
   
   2. `limit-count` plugin gets executed before the `forward-auth` plugin as it 
has a higher priority. So you don't need to do anything to let `limit-count` 
know the correct consumer.
   
   
https://github.com/apache/apisix/blob/abcb49e019e7bbd5ceb7cba2c71ef4c4119bdc45/conf/config-default.yaml#L454
   
   
https://github.com/apache/apisix/blob/abcb49e019e7bbd5ceb7cba2c71ef4c4119bdc45/conf/config-default.yaml#L443


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to