Skip to content

Commit 1f75535

Browse files
Update apisix/plugins/openid-connect.lua
clone conf before fetch_secrets to adopt issue #1956 Co-authored-by: Shreemaan Abhishek <shreemaan.abhishek@gmail.com>
1 parent 6c7a0b9 commit 1f75535

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apisix/plugins/openid-connect.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,6 +472,7 @@ local function required_scopes_present(required_scopes, http_scopes)
472472
end
473473

474474
function _M.rewrite(plugin_conf, ctx)
475+
local conf = core.table.clone(plugin_conf)
475476
local conf = fetch_secrets(plugin_conf)
476477

477478
-- Previously, we multiply conf.timeout before storing it in etcd.

0 commit comments

Comments
 (0)