mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-09 20:26:33 +00:00
Prometheus, Baserow, Checkmk and Jitsi inject their own logout button, mark it with data-injected-logout and send it to /oauth2/sign_out?rd=<Keycloak logout>. The shared logout script matched the same button through that attribute name and bound a second handler that navigates straight to Keycloak, which cancelled the sign_out request: on the prometheus+tor pass of fork run 40042690056 (job odoo#0) the request shows as ERR_ABORTED 12 ms before the Keycloak logout page loads, the onion oauth2-proxy log records no sign_out, and the session survived the logout. On clearnet the logout service's per-domain sweep hid it.
The scan now skips any element carrying data-injected-logout. All four roles set the link and the handler themselves from lookup('sso', ..., 'logout_url'), so their destination does not change.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>