idbeta edited a comment on issue #716:
URL: 
https://github.com/apache/apisix-dashboard/issues/716#issuecomment-723394107


   the etcd data after use dashboard2.0 set jwt-auth:
   ```
   /apisix/consumers/test_hj
   
{"id":"test_hj","create_time":1604724760,"update_time":1604724760,"username":"test_hj","plugins":{"jwt-auth":{"algorithm":"HS256","base64_secret":false,"key":"dd","secret":"my-secret-key"}}}
   /apisix/routes/327483191025729827
   
{"id":"327483191025729827","create_time":1604724792,"update_time":1604724792,"uris":["/"],"name":"test_hj","methods":["GET","HEAD","POST","PUT","DELETE","OPTIONS","PATCH"],"vars":[],"plugins":{"jwt-auth":{}},"upstream":{"nodes":[{"host":"139.217.190.60","port":80,"weight":1}],"timeout":{"connect":6000,"read":6000,"send":6000},"type":"roundrobin"}}
   ```
   the etcd data after use admin API set jwt-auth:
   ```
   /apisix/consumers/user123
   
{"username":"user123","plugins":{"jwt-auth":{"exp":86400,"algorithm":"HS256","secret":"my-secret-key","key":"dd"}}}
   /apisix/routes/1
   
{"priority":0,"plugins":{"jwt-auth":{"algorithm":"HS256","secret":"e10d5rmIfZFBF6W0JqOv60v1UcVF0uMiBwAIzf2pXQY=","exp":86400}},"upstream":{"hash_on":"vars","pass_host":"pass","nodes":{"139.217.190.60:80":1},"type":"roundrobin"},"id":"1","uri":"\/"}
   ```


----------------------------------------------------------------
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:
[email protected]


Reply via email to