membphis commented on issue #999: request help: How to get consumer id from 
upstream service ?
URL: 
https://github.com/apache/incubator-apisix/issues/999#issuecomment-568954518
 
 
   You can get it from `ctx. consumer_id`.
   
   Here is the source code link:
   
   
https://github.com/apache/incubator-apisix/blob/master/lua/apisix/plugins/key-auth.lua#L85
   
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to