starsz commented on code in PR #8148:
URL: https://github.com/apache/apisix/pull/8148#discussion_r1064249464
##########
apisix/plugins/openid-connect.lua:
##########
@@ -328,15 +336,26 @@ function _M.rewrite(plugin_conf, ctx)
-- Either token validation via introspection endpoint or public key is
-- not configured, and/or token could not be extracted from the
request.
+ local unauth_action = conf.unauth_action
+ if unauth_action ~= "auth" then
+ unauth_action = "deny"
+ end
Review Comment:
It looks like if `unauth_action` is "pass", it will be "deny" .
--
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]