You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2.1 version create route with jwt-auth will display an error
btw, create with key-auth or basic-auth also has the problem
Request URL: http://127.0.0.1:8080/apisix/admin/routes
Request Method: POST
{"name":"test","desc":"","uris":["/hello"],"methods":["GET","HEAD","POST","PUT","DELETE","OPTIONS","PATCH"],"plugins":{"jwt-auth":{}},"vars":[],"upstream":{"type":"roundrobin","timeout":{"connect":6000,"send":6000,"read":6000},"nodes":[{"host":"127.0.0.1","port":7000,"weight":1}]}}
Response
{"code":10000,"message":"scheme validate failed: properties must be of type object","data":null,"request_id":"fa40087e-bfbf-45a3-a216-2f93e0683c9a"}
The text was updated successfully, but these errors were encountered:
Bug report
Describe the bug
2.1 version create route with
jwt-auth
will display an errorbtw, create with
key-auth
orbasic-auth
also has the problemThe text was updated successfully, but these errors were encountered: