bzp2010 commented on a change in pull request #6318:
URL: https://github.com/apache/apisix/pull/6318#discussion_r807913157



##########
File path: docs/en/latest/plugins/jwt-auth.md
##########
@@ -196,6 +196,20 @@ then add jwt-auth plugin in the Consumer page:
 
 #### Get the Token in `jwt-auth` Plugin:
 
+First you need to setup the route for the API that sign the token, which will 
use the [public-api](public-api.md) plugin.
+
+```shell
+$ curl http://127.0.0.1:9080/apisix/admin/routes/ -H 'X-API-KEY: 
edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
+{
+    "uri": "/apisix/plugin/jwt/sign",

Review comment:
       Haha, It is not necessary for you to understand its actual meaning, you 
can check the content such as the description in English and Chinese, and other 
content is checked by other reviewers.




-- 
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