-
Hi Community We tried to setup the key pair feature on base of JWT-Auth and Public-API plugin. But seems the documentation guidance can not works well, now we are blocking on curl 'http://127.0.0.1:9080/apisix/plugin/jwt/sign?key=user-key' which feedback '404 Not Found'. The guidance we are following include:
Please refer to our operation step as Appendix. Your feedback is really appreciated so much......................................... Appendix:
% Total % Received % Xferd Average Speed Time Time Time Current
% Total % Received % Xferd Average Speed Time Time Time Current
enable public-api Plugin on a specific Route as shown below:
$ curl -X PUT 'http://127.0.0.1:9080/apisix/admin/routes/r1' \
Besides, we found there shoudl be a bug in APISIX Helm chart, it is, the Plugins lacked public-api in the values.yaml. Only after we add it, below operation can works "curl http://127.0.0.1:9080/apisix/admin/routes/jas". But the token still unable to sign with curl 'http://127.0.0.1:9080/apisix/plugin/jwt/sign?key=user-key'` |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 13 replies
-
Hi, @lewiseliu Yes, the list of plugins is now in the values file of the helm chart, it may not be up to date. You can create an issue https://github.com/apache/apisix-helm-chart/issues/new here to expose this issue. |
Beta Was this translation helpful? Give feedback.
-
We moved values.yaml issue ("curl http://127.0.0.1:9080/apisix/admin/routes/jas") to another issue session(apache/apisix-helm-chart#324) , and here only talk about 404 not found with curl 'http://127.0.0.1:9080/apisix/plugin/jwt/sign?key=user-key'` This JWT-AUTH questions already be answered by @tzssangglass per call. |
Beta Was this translation helpful? Give feedback.
-
@lewiseliu BTW, do you see any suspicious logs in error.log? |
Beta Was this translation helpful? Give feedback.
We moved values.yaml issue ("curl http://127.0.0.1:9080/apisix/admin/routes/jas") to another issue session(apache/apisix-helm-chart#324) , and here only talk about 404 not found with curl 'http://127.0.0.1:9080/apisix/plugin/jwt/sign?key=user-key'`
This JWT-AUTH questions already be answered by @tzssangglass per call.