mirror of
https://github.com/root-fr/jmap-webmail.git
synced 2026-09-24 08:01:19 +00:00
Logout now revokes the refresh token and redirects to the IdP's end_session_endpoint so the SSO session is fully terminated. The end_session_url is validated server-side (HTTPS only) before being returned to the client, preventing open redirect attacks. Also adds 14 unit tests covering PKCE (including RFC 7636 test vector) and OAuth discovery (fallback, caching, required field validation).