shreemaan-abhishek commented on code in PR #13081:
URL: https://github.com/apache/apisix/pull/13081#discussion_r2928827574


##########
apisix/plugins/openid-connect.lua:
##########
@@ -622,6 +623,73 @@ local function validate_claims_in_oidcauth_response(resp, 
conf)
     return core.schema.check(conf.claim_schema, data)
 end
 
+
+local function get_forwarded_param(ctx, param_name)
+    local forwarded = ctx.var.http_forwarded
+    if not forwarded then
+        return nil
+    end
+    -- take only the first proxy entry (before any comma)
+    local first = forwarded:match("^([^,]+)")
+    if not first then
+        return nil
+    end
+    for part in first:gmatch("[^;]+") do

Review Comment:
   we actually need client values so this can be ignored.



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