Replies: 2 comments 2 replies
-
The information you provided was totally useless. You should tell us which kinds of plugin are you trying to create. Also, if possible, paste some code snippets here. Looks like you're writing an auth plugin, an auth plugin should design a way to find an APISIX consumer via the current API request (e.g., via a header, an arg, or even from the request body). In addition, the plugin type should be |
Beta Was this translation helpful? Give feedback.
-
jwt-pluns.zip |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
我按钮文档去新增了一个lua插件并且配置使得该插件生效。
但是在访问对应的路由时他报
{"message":"Missing related consumer"}
我看源码代码是
是不是consumer还需要再把目前的插件名给配置上去??
Environment
apisix version
):uname -a
):openresty -V
ornginx -V
):curl http://127.0.0.1:9090/v1/server_info
):luarocks --version
):Beta Was this translation helpful? Give feedback.
All reactions