henryfoster edited a comment on issue #3594:
URL: https://github.com/apache/apisix/issues/3594#issuecomment-780410984


   I think you misunderstood me. I mean how can I set the **content** of the 
token after it was verified by apisix?
   A JWT usually contains information about the user like the **userID** and 
**permissions**.
   After apisix verified that the token is valid I need to set this information 
as header values on the request **instead** of the JWT and forward it to the 
destination service.
   
   So the request Header would contain:
    "userID": "023984u2034423",
    "roles": "ROLE_ADMIN" 
    for example.


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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to