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

   > I have a consumer created with key as user_id , when adding jwt plugin ive 
specified the key as user_id as explained above. Still getting same error
   > 
   > spec: authParameter: jwtAuth: value: algorithm: HS256 base64_secret: false 
exp: 86400 key: user_id lifetime_grace_period: 0 secret:
   > 
   > thats the consumer
   > 
   > and
   > 
   > ```
   >     - name: jwt-auth
   >       enable: true
   >       config:
   >         key: user_id
   > ```
   > 
   > thats the plugin for enabling
   
   The issued jwt token needs to contain the key field


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