izayoi-akira commented on issue #4078:
URL: https://github.com/apache/apisix/issues/4078#issuecomment-822183015


   > > 如何让apisix或者上游知道是哪个消费者访问的?
   > 
   > According to the existing configuration in the `consumer`, when you access 
authentication, it will be authenticated with the information configured in the 
consumer according to the token you use.
   > 
   > You can refer to the consumer-restriction plugin, through which you can do 
corresponding access restrictions.
   
   Access Restrictions is not what I want, I want upstream to know witch 
consumer is accessing it.
   
   for example:
   There are two consumers: consumers1 and consumers2,they got token1 and 
token2 with /apisix/plugin/jwt/sign.
   Then they both access the upstream api: xxx.com/articel/add,now xxx.com 
wants to know if it was consumers1 or consumers2 that access it


-- 
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]


Reply via email to