apisix-dashboard
apisix-dashboard copied to clipboard
can not add a custom plugin to the consumer
Issue description
给consumer 配置一个自己开发的插件时,在 “Plugin Editor” 界面,无法进行下一步, 相关的 schema 检查也不生效
Expected behavior
应该像 其他内置auth 插件一样可以顺利添加
How to Reproduce
- 拷贝 jwt-auth 插件 为 jwt-auth2 ,并修改代码内的 plugin_name , priority 等变量(这里使用 jwt-auth 模拟自己开发的插件)
- 重启 apisix、 更新 schema.json ,更新 dashboard 配置
- 在 dashboard 界面上添加 consumer
- 选择 jwt-auth2 插件
- 填入相应的配置,如
{ "key": "test111"}
(不填配置的话也不能提示错误) - 点击“下一步”
- 现象是 没有任何反应,
Screenshots
不填配置的话,点击”下一步“ 不能提示错误
Environment
- apisix version (cmd:
apisix version
): 3.0.0 - OS (cmd:
uname -a
): centOS 7.4 - OpenResty / Nginx version (cmd:
nginx -V
oropenresty -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
The same thing happened to me