You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2019/12/26 12:23:26 UTC

[GitHub] [incubator-apisix] membphis edited a comment on issue #999: request help: How to get consumer id from upstream service ?

membphis edited a comment 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:
users@infra.apache.org


With regards,
Apache Git Services