tzssangglass commented on issue #7885:
URL: https://github.com/apache/apisix/issues/7885#issuecomment-1244894403

   > but cannot put the payload in the request body to the upstream service 
when it is parsed?
   
    jwt-auth just validates jwt and doesn't require modifying the request body. 
Or this will break the original request and is not standard behavior.
   
   > If I want to pass the jwt token to the upstream service for parsing, what 
is the meaning of this plugin?
   
   jwt would pass to upstream. I suggest you read the documentation first: 
https://apisix.apache.org/docs/apisix/plugins/jwt-auth/
   
   > I hope that the key that will be added to the request body in the jwt 
payload can be set in the jwt plugin configuration of the router.
   
   From a personal point of view, I don't like this feature, it goes beyond the 
boundaries of authentication.
   
   


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