tokers commented on code in PR #7500:
URL: https://github.com/apache/apisix/pull/7500#discussion_r926458395


##########
docs/en/latest/plugins/jwt-auth.md:
##########
@@ -49,6 +49,7 @@ For Consumer:
 | exp           | integer | False                                              
   | 86400   | [1,...]                     | Expiry time of the token in 
seconds.                                                                        
                                                                                
|
 | base64_secret | boolean | False                                              
   | false   |                             | Set to true if the secret is 
base64 encoded.                                                                 
                                                                               |
 | vault         | object  | False                                              
   |         |                             | Set to true to use Vault for 
storing and retrieving secret (secret for HS256/HS512  or public_key and 
private_key for RS256). By default, the Vault path is 
`kv/apisix/consumer/<consumer_name>/jwt-auth`. |
+| lifetime_grace_period | integer | False                                      
   | 0       | [0,...]                     | Define the leeway in seconds to 
account for clock skew between the server that generated the jwt and the server 
validating it. Value should be zero (0) or a positive integer. |

Review Comment:
   Actually, the leeway is a time range from [-N, N], I think it should be 
shown in the description (after we configure the `lifetime_grace_period`.



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