Marco-Zheng opened a new issue #4022: URL: https://github.com/apache/apisix/issues/4022
### Issue description when i installed jwt-auth with authCode by using curl -H , it didn't work  but used curl --cookie, it worked well!  may i know if any wrong with my settings? below is my settings: - Consumer: ``` { "username": "jack", "plugins": { "jwt-auth": { "algorithm": "RS256", "base64_secret": false, "exp": 86400, "key": "user-key", "private_key": "-----BEGIN RSA PRIVATE KEY-----\n……\n-----END RSA PRIVATE KEY-----", "public_key": "-----BEGIN PUBLIC KEY-----\n……\n-----END PUBLIC KEY-----", "secret": "my-secret-key" } } } ``` - Route ``` { "uris": [ "/patient/patient/id" ], "name": "xxxxxxxx", "methods": [ "GET", "HEAD", "POST", "PUT", "DELETE", "OPTIONS", "PATCH" ], "hosts": [ "marco.org" ], "plugins": { "echo": { "after_body": "\n----the request finished----\n", "before_body": "----the request coming----\n" }, "jwt-auth": {}, "key-auth": { "disable": true }, "proxy-rewrite": { "headers": { "X-Api-Engine": "apisix", "X-Api-Version": "v1", "X-Api-useless": "" }, "scheme": "http", "uri": "/patient/patient/id" } }, "upstream_id": "xxxxxxxx", "status": 1 } ``` ### Environment * apisix version (cmd: `apisix version`): 2.5 -- 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]
