waterWang commented on issue #13997: URL: https://github.com/apache/cloudstack/issues/13997#issuecomment-5450646278
Opened a fix PR: https://github.com/apache/cloudstack/pull/13999 Root cause: `SAML2LogoutAPIAuthenticatorCmd#authenticate` calls `resp.sendRedirect(...)` which commits the 302, so ApiServlet's LOGOUT_API cookie cleanup (which runs after the authenticator returns) can no longer attach `Set-Cookie` headers to that response. The fix clears the received session cookies (`JSESSIONID`/`sessionkey`/`userid`) on the response **before** the redirect, so the 302 now carries `Max-Age=0` cookie-clearing headers. -- 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]
