[GitHub] [apisix] izayoi-akira commented on issue #4078: request help:

2021-04-19 Thread GitBox


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


   > ```shell
   > proxy-rewrite
   > ```
   
Thanks a lot !!!


-- 
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:
us...@infra.apache.org




[GitHub] [apisix] izayoi-akira commented on issue #4078: request help:

2021-04-18 Thread GitBox


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:
us...@infra.apache.org




[GitHub] [apisix] izayoi-akira commented on issue #4078: request help:

2021-04-18 Thread GitBox


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


   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:
us...@infra.apache.org




[GitHub] [apisix] izayoi-akira commented on issue #4078: request help:

2021-04-18 Thread GitBox


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


   How can I get the consumer message which requeset the upstream by upstream 
or apisix 


-- 
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:
us...@infra.apache.org