wafelmolt commented on issue #11078:
URL: https://github.com/apache/cloudstack/issues/11078#issuecomment-3191715044
Hello. I experienced the same issue. I didn't see any workaround having
beeing shared so I'll share mine :
```
# Workaround (while 4.20.2 is not released) purge at logout (all variants +
cookies UI)
if ($arg_command = logout) {
set $exp "Max-Age=0; Expires=Thu, 01 Jan 1970 00:00:00 GMT";
# Both sessionkey entries
add_header Set-Cookie "sessionkey=; Path=/; HttpOnly; SameSite=Lax;
$exp" always;
add_header Set-Cookie "sessionkey=; Path=/;
Domain=console.iaas.<my_root_domain>; SameSite=Lax; $exp" always;
# All other entries
add_header Set-Cookie "JSESSIONID=; Path=/; $exp" always;
add_header Set-Cookie "userid=; Path=/;
Domain=console.iaas.<my_root_domain>; $exp" always;
add_header Set-Cookie "domainid=; Path=/;
Domain=console.iaas.<my_root_domain>; $exp" always;
add_header Set-Cookie "role=; Path=/;
Domain=console.iaas.<my_root_domain>; $exp" always;
add_header Set-Cookie "username=; Path=/;
Domain=console.iaas.<my_root_domain>; $exp" always;
add_header Set-Cookie "account=; Path=/;
Domain=console.iaas.<my_root_domain>; $exp" always;
add_header Set-Cookie "isSAML=; Path=/;
Domain=console.iaas.<my_root_domain>; $exp" always;
add_header Set-Cookie "twoFaEnabled=; Path=/;
Domain=console.iaas.<my_root_domain>; $exp" always;
add_header Set-Cookie "userfullname=; Path=/;
Domain=console.iaas.<my_root_domain>; $exp" always;
add_header Set-Cookie "timezone=; Path=/;
Domain=console.iaas.<my_root_domain>; $exp" always;
}
```
It's working fine by my side. Doing the job while waiting for the 4.20.2
patch 😇
--
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]