shreemaan-abhishek commented on code in PR #11145:
URL: https://github.com/apache/apisix/pull/11145#discussion_r1574561086
##########
apisix/plugins/multi-auth.lua:
##########
@@ -54,6 +54,10 @@ function _M.check_schema(conf)
if auth.type ~= 'auth' then
return false, auth_plugin_name .. " plugin is not
supported"
end
+ local ok, err = auth.check_schema(auth_plugin_conf,
auth.schema)
+ if not ok then
+ return false, "plugin " .. auth_plugin_name .. " check
schema failed: " .. err
Review Comment:
can you also add a test case which shows this error would be raised if any
auth_plugin has wrong configuration.
--
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]