githubxubin commented on issue #8613:
URL: https://github.com/apache/apisix/issues/8613#issuecomment-1371869966

   > Hey @githubxubin, please provide your **complete steps** with APISIX 
version :) It's helpful to reproduce your case.
   
   and the consumer and rounte are set truely!
   1.consumer config:
   {
     "username": "consumer_jwt",
     "desc": "consumer_jwt",
     "plugins": {
       "jwt-auth": {
         "exp": 1879318541,
         "key": "jwt_key"
       }
     }
   }
   2.rounte config:
   {
     "uri": "/admin/*",
     "name": "xubin_rount_admin",
     "methods": [
       "GET",
       "POST",
       "PUT",
       "DELETE",
       "PATCH",
       "HEAD",
       "OPTIONS",
       "CONNECT",
       "TRACE"
     ],
     "plugins": {
       "jwt-auth": {
         "disable": false
       },
       "proxy-rewrite": {
         "regex_uri": [
           "^/admin(/|$)(.*)",
           "/$2"
         ]
       },
       "public-api": {
         "disable": false
       }
     },
     "upstream": {
       "nodes": [
         {
           "host": "192.168.85.66",
           "port": 8082,
           "weight": 1
         }
       ],
       "retries": 2,
       "timeout": {
         "connect": 6,
         "send": 6,
         "read": 6
       },
       "type": "roundrobin",
       "scheme": "http",
       "pass_host": "pass",
       "keepalive_pool": {
         "idle_timeout": 60,
         "requests": 1000,
         "size": 320
       },
       "retry_timeout": 3
     },
     "labels": {
       "API_VERSION": "v1.0"
     },
     "status": 1
   }


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