Hockenba commented on code in PR #13651:
URL: https://github.com/apache/apisix/pull/13651#discussion_r3891867728


##########
apisix/plugins/openid-connect.lua:
##########
@@ -294,7 +294,19 @@ local schema = {
                             description = "keepalive timeout in milliseconds",
                         },
                     }
-                }
+                },
+                revocation = {
+                    type = "string",
+                    enum = {"redis"},
+                    description = "Redis-backed revocation for cookie 
sessions.",
+                },
+                revocation_fail_mode = {
+                    type = "string",
+                    enum = {"open", "closed"},

Review Comment:
   Not sure if the AI is correct (will verify in the morning), but this may be 
intentional best-effort logout design so users aren't blocked when Redis is 
down—the client cookie still clears.
   
   The replay risk only exists if the session value was stolen and reused. Even 
then, fail-open or fail-closed doesn't change the fact that we can't revoke it 
without Redis up.
   
   If we prefer stricter failure handling anyway, we can add it now or defer 
it. Either direction works depending on what makes sense for the project



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