[GitHub] [apisix] githubxubin commented on issue #8908: public-api cant work in plugin config

2023-02-22 Thread via GitHub
githubxubin commented on issue #8908: URL: https://github.com/apache/apisix/issues/8908#issuecomment-1439716764 > If you set public-api plugin in the router. This means this route will be controlled by public-api plugin. If you register it to global config, means all routers will be control

[GitHub] [apisix] githubxubin commented on issue #8908: public-api cant work in plugin config

2023-02-22 Thread via GitHub
githubxubin commented on issue #8908: URL: https://github.com/apache/apisix/issues/8908#issuecomment-1439711107 > Why did you set `public-api` in the global plugin config? Can you explain that? The Public-API only exposes some internal API which is registered by some plugin itself. o

[GitHub] [apisix] githubxubin commented on issue #8908: public-api cant work in plugin config

2023-02-22 Thread via GitHub
githubxubin commented on issue #8908: URL: https://github.com/apache/apisix/issues/8908#issuecomment-1439705111 > i think that if i want to expose the interface "/apisix/plugin/jwt/sign" , i can config the public-api in global plugin config,Isn't it? I understand that global is v

[GitHub] [apisix] githubxubin commented on issue #8908: public-api cant work in plugin config

2023-02-22 Thread via GitHub
githubxubin commented on issue #8908: URL: https://github.com/apache/apisix/issues/8908#issuecomment-1439695517 > i only set the plugin public-api in global plugin config ,the all route can not work -- This is an automated message from the Apache Git Service. To respond to the messag

[GitHub] [apisix] githubxubin commented on issue #8908: public-api cant work in plugin config

2023-02-22 Thread via GitHub
githubxubin commented on issue #8908: URL: https://github.com/apache/apisix/issues/8908#issuecomment-1439682586 > Can you share your config here? Mabe your configuration is wrong. 1.first one: the plugin config is : { "disable": false, "uri": "/apisix/plugin/jwt/sign"