jnystad commented on code in PR #8148:
URL: https://github.com/apache/apisix/pull/8148#discussion_r1064426359
##########
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:
"pass" is handled in the plugin, not in the oidc library. See line 354
--
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]