zhongpengrui commented on issue #7496:
URL: https://github.com/apache/apisix/issues/7496#issuecomment-1190985608
您说得这种方式可以将信息写在headers中,但是不能动态变化。
我想实现在发送A请求之前先发送一个获取token的请求B,然后将token作为参数动态拼接在A请求之上,
您知道这个怎么处理吗?
------------------ 原始邮件 ------------------
发件人:
"apache/apisix"
***@***.***>;
发送时间: 2022年7月20日(星期三) 上午9:52
***@***.***>;
***@***.******@***.***>;
主题: Re: [apache/apisix] help request: how to pick up username/password
from consumer when accessing API? (Issue #7496)
If you are talking about passing consumer name upstream, see: #4078 (comment)
and basic-auth plugin has hide_credentials attributes, set true to pass the
authorization request headers to the Upstream.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
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]