apisix
apisix copied to clipboard
feat: plugins need to call the registry center
Description
重写JWT插件后,JWT的token生成、检查用的是自写的接口,如果要从插件中调用这个自写的接口,需要把接口配置到路由列表中,但是这样会导致自写的接口暴露给外网。我们想采用JWT插件消费nacos、zookeeper等注册中心提供的接口。但是目前没有发现插件对接注册中心调用服务的案例
但是这样会导致自写的接口暴露给外网
@dengfenghong What about adding some security plugins when you public the API? e.g. ip-restriction, authentication plugins.
但是这样会导致自写的接口暴露给外网
@dengfenghong What about adding some security plugins when you public the API? e.g. ip-restriction, authentication plugins. yes,we used ip-restriction, authentication plugins。but, the requst-real-ip can to modify in internet。plugins used registry center for decoupling and the inter api shoul'd show to internet
Try to use the Real IP Replacement in real-ip plugin?
This issue has been marked as stale due to 350 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the [email protected] list. Thank you for your contributions.
This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.