wulinghui commented on issue #7924:
URL: https://github.com/apache/apisix/issues/7924#issuecomment-1250460110

   http code码是 401  内容是 {"message":"failed to verify jwt"}
   
   我看是这里出现的问题。
   
https://github.com/apache/apisix/blob/9129572f6302300ddeee3f2234393445d8ead781/apisix/plugins/jwt-auth.lua#L405
   ```lua
       if not jwt_obj.verified then
           core.log.warn("failed to verify jwt: ", jwt_obj.reason)
           return 401, {message = "failed to verify jwt"}
       end
   ```
   
   我没有看到具体的对应的warn日志,
   日志配置是默认的。
    
   这2个`access.log  error.log` 日志文件中都有warn的日志级别,但是没有和jwt对应的内容。 
   是不是还得配置什么?


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