apisix-dashboard icon indicating copy to clipboard operation
apisix-dashboard copied to clipboard

can not add a custom plugin to the consumer

Open xuruidong opened this issue 1 year ago • 1 comments

Issue description

给consumer 配置一个自己开发的插件时,在 “Plugin Editor” 界面,无法进行下一步, 相关的 schema 检查也不生效

Expected behavior

应该像 其他内置auth 插件一样可以顺利添加

How to Reproduce

  1. 拷贝 jwt-auth 插件 为 jwt-auth2 ,并修改代码内的 plugin_name , priority 等变量(这里使用 jwt-auth 模拟自己开发的插件)
  2. 重启 apisix、 更新 schema.json ,更新 dashboard 配置
  3. 在 dashboard 界面上添加 consumer
  4. 选择 jwt-auth2 插件
  5. 填入相应的配置,如 { "key": "test111"} (不填配置的话也不能提示错误)
  6. 点击“下一步”
  7. 现象是 没有任何反应,

Screenshots

image

不填配置的话,点击”下一步“ 不能提示错误 image

Environment

  • apisix version (cmd: apisix version): 3.0.0
  • OS (cmd: uname -a): centOS 7.4
  • OpenResty / Nginx version (cmd: nginx -V or openresty -V):
  • etcd version, if have (cmd: run etcd --version): 3.4.15
  • apisix-dashboard version, if have: 3.0.0 AND 3.0.1
  • Browser version, if have: microsoft Edge 113.0.1774.50 (正式版本) (64 位)

Additional context

No response

xuruidong avatar Jun 16 '23 06:06 xuruidong

The same thing happened to me

lihao6666 avatar Nov 28 '23 08:11 lihao6666