membphis commented on code in PR #11451:
URL: https://github.com/apache/apisix/pull/11451#discussion_r1926688577


##########
apisix/plugins/openid-connect.lua:
##########
@@ -471,7 +472,8 @@ local function required_scopes_present(required_scopes, 
http_scopes)
 end
 
 function _M.rewrite(plugin_conf, ctx)
-    local conf = core.table.clone(plugin_conf)
+    local conf_clone = core.table.clone(plugin_conf)

Review Comment:
   
https://github.com/apache/apisix/blob/0cb7d9ac8def4a490c8b49b7755a9484f3018eb2/apisix/plugins/basic-auth.lua#L116
   
   here is an example in basic-auth plugin, it can help you



-- 
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]

Reply via email to