Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: authz-keycloak plugin should not be marked as auth-type and should run in access phase, basic-auth plugin should run in rewrite phase. #2859

Prev Previous commit
Next Next commit
Wrap line.
jenskeiner committed Nov 30, 2020
commit e88f887cef167294667d5631598152f201ce9ee8
3 changes: 2 additions & 1 deletion apisix/init.lua
Original file line number Diff line number Diff line change
@@ -513,7 +513,8 @@ function _M.http_access_phase()
api_ctx.consumer,
api_ctx
)
core.log.debug("find consumer ", api_ctx.consumer.username, ", config changed: ", changed)
core.log.debug("find consumer ", api_ctx.consumer.username,
", config changed: ", changed)
if changed then
core.table.clear(api_ctx.plugins)
api_ctx.plugins = plugin.filter(route, api_ctx.plugins)