You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by we...@apache.org on 2020/12/01 06:57:55 UTC
[apisix] branch master updated: Change phase from access to
rewrite. (#2904)
This is an automated email from the ASF dual-hosted git repository.
wenming pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git
The following commit(s) were added to refs/heads/master by this push:
new 1526ea5 Change phase from access to rewrite. (#2904)
1526ea5 is described below
commit 1526ea5e0dc6bec59be1b5de5f49a10fdc74d11f
Author: Jens Keiner <je...@nfft.org>
AuthorDate: Tue Dec 1 07:57:45 2020 +0100
Change phase from access to rewrite. (#2904)
---
apisix/plugins/openid-connect.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apisix/plugins/openid-connect.lua b/apisix/plugins/openid-connect.lua
index 1dca419..1ded27a 100644
--- a/apisix/plugins/openid-connect.lua
+++ b/apisix/plugins/openid-connect.lua
@@ -146,7 +146,7 @@ local function add_user_header(user)
end
-function _M.access(plugin_conf, ctx)
+function _M.rewrite(plugin_conf, ctx)
local conf = core.table.clone(plugin_conf)
if not conf.redirect_uri then
conf.redirect_uri = ctx.var.request_uri