untilyou2605 commented on issue #11365:
URL: https://github.com/apache/apisix/issues/11365#issuecomment-2509815138

   > I am also getting the same issue. Our jwt tokens has `sub` as a key for 
user_id. Where can i set this key when enabling `jwt-auth` plugin for routes.
   
   hey @TheShubhendra, have you solved this problem? I got the same issue
   this is my config
   `  "plugins": {
       "jwt-auth": {
         "_meta": {
           "disable": false
         },
         "cookie": "jwt",
         "header": "authorization",
         "hide_credentials": false,
         "key": "sub",
         "query": "jwt",
         "secret": "dssaaaxc12"
       }
     }`
   


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