proxmox/proxmox-auth-api
Shannon Sterz 1b9def4736 auth-api: add logout method
adds a new endpoint that is useful when dealing with HttpOnly cookies
that cannot be removed by client-side javascript (and by extension
wasm) code. the logout handle simply removes the cookie that is used
for storing the current ticket. this works the same way as it does in
the front-end: by setting an expired cookie with the same name.

as cookies are now prefixed with `__Host-` by default, the cookie here
also needs to be `Secure` and have the same `Path` to not be rejected
by the browser before it can remove the old cookie.

Signed-off-by: Shannon Sterz <s.sterz@proxmox.com>
2025-03-04 15:53:29 +01:00
..
debian auth-api: bump to 0.4.7-1 2025-01-15 12:47:08 +01:00
examples fix typos in strings 2024-07-22 08:49:42 +02:00
src auth-api: add logout method 2025-03-04 15:53:29 +01:00
Cargo.toml auth-api: add endpoint for issuing tickets as HttpOnly tickets 2025-03-04 15:53:29 +01:00