stubbornTanzhe commented on issue #6994:
URL: https://github.com/apache/apisix/issues/6994#issuecomment-1120107699

   thanks a lot.
   
   yes,upstream really need is the auth info,maybe the authed user-info such as 
username or role sth.
   
   [https://github.com/apache/apisix/issues/4078#issuecomment-822231019](url) 
   i solve the problem with writing a custom plugin,sth like 
   `core.request.set_header(ctx, "X-App-ID", consumer.username)` 
   
   maybe we can give more best practice, such as <$consumer_name> usage, which 
i found only as "Nginx variables". 
   I've no idea about the connection between the obj in apisix and the "Nginx 
variables"
   @tzssangglass @tokers 


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