membphis commented on issue #716: URL: https://github.com/apache/apisix-dashboard/issues/716#issuecomment-723417617
@idbeta It works fine at my side when I try to use the dashboard data. ``` # create by dashboard, use the dashboard data: curl http://127.0.0.1:9080/apisix/admin/consumers -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d ' {"id":"test_hj","create_time":1604724760,"update_time":1604724760,"username":"test_hj", "plugins":{"jwt-auth":{"algorithm":"HS256","base64_secret":false,"key":"ee","secret":"my-secret-key"}}} ' # setp3: generate JWT credential $ curl http://127.0.0.1:9080/apisix/plugin/jwt/sign\?key\=ee -i HTTP/1.1 200 OK Date: Sat, 07 Nov 2020 08:21:14 GMT Content-Type: text/plain; charset=utf-8 Transfer-Encoding: chunked Connection: keep-alive Server: APISIX/2.0 ... ... ``` ---------------------------------------------------------------- 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]
