githubxubin opened a new issue, #11168:
URL: https://github.com/apache/apisix/issues/11168

   ### Description
   
   I need to use the jwt-auth plugin and I install the documentation for the 
related configuration
   First up:
   I have enabled the jwt-auth plugin in the global plugin
   Then, I created a public-api route according to the documentation in order 
to get the token:
   ```
   curl http://127.0.0.1:9180/apisix/admin/routes/jas \
   -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
   {
       "uri": "/apisix/plugin/jwt/sign",
       "plugins": {
           "public-api": {}
       }
   }'
   ```
   Result: public-api this route can not be accessed, prompting the need for 
token, this is not a serious bug,public-api should not conduct token 
verification ah
   
   <img width="747" alt="image" 
src="https://github.com/apache/apisix/assets/39228009/0d798f06-be05-4222-b930-fe03930dd042";>
   
   apisix version:3.6.0-centos
   dashboard:3.0
   etcd:3.4.15
    


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to