darkSheep404 commented on issue #11918:
URL: https://github.com/apache/apisix/issues/11918#issuecomment-2601634947
in my views, i think limit-count provide feature which key support var and
var_combination is enough
in our pratices, we set user info into var in our custom auth plugins.
like
```lua
local userInfo = json.decode(res)
local user_info_json = json.decode(userInfo)
ctx.var['appUserName'] = user_info_json["username"]
if user_info_json["userOrg"] ~= ngx.null and user_info_json["userOrg"] ~=
nil then
ctx.var['appUserOrgNo'] = user_info_json["appUserOrg"]["orgNo"]
end
```
--
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]