liangliang4ward commented on a change in pull request #6561:
URL: https://github.com/apache/apisix/pull/6561#discussion_r823279943



##########
File path: docs/en/latest/plugins/jwt-auth.md
##########
@@ -46,6 +48,14 @@ For more information on JWT, refer to [JWT](https://jwt.io/) 
for more informatio
 
 **Note**: To enable vault integration, first visit the 
[config.yaml](https://github.com/apache/apisix/blob/master/conf/config.yaml) 
update it with your vault server configuration, host address and access token. 
You can take a look of what APISIX expects from the config.yaml at 
[config-default.yaml](https://github.com/apache/apisix/blob/master/conf/config-default.yaml)
 under the vault attributes.
 
+For route side:
+
+| Name | Type   | Requirement | Default | Valid | Description                  
                                                |
+| ---- | ------ | ----------- | ------- | ----- | 
---------------------------------------------------------------------------- |
+| header  | string | optional    | authorization        |       | the header 
we get the token from |
+| query   | string | optional    | jwt        |       | the querystring we get 
the token from, which priority is lower than header |
+| cookie | string | optional    | jwt |       | the cookie we get the token 
from, which priority is lower than querystring |

Review comment:
       key-auth.md use querystring,  I inherited it.
   
   "query string" is good




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