tzssangglass commented on a change in pull request #5449:
URL: https://github.com/apache/apisix/pull/5449#discussion_r801202482
##########
File path: apisix/plugins/openid-connect.lua
##########
@@ -196,6 +196,7 @@ local function introspect(ctx, conf)
end
-- Token successfully validated.
+ core.log.debug("token validate successfully by ", conf.public_key and
"public_key" or "jwk")
Review comment:
```suggestion
core.log.debug("token validate successfully by ", (conf.public_key
and "public_key") or (conf.use_jwks and "jwk"))
```
is better?
--
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]