mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-10-31 00:12:39 +00:00
The code exchange, token refresh and revocation POSTs carry the authorization code, refresh token and client secret, and used a plain `fetch` that follows redirects. The endpoints come from a validated discovery document, but a redirect from them (or from an endpoint that changed after discovery) re-sent the body to a host nobody validated. These requests now fail on any redirect. A failed refresh still keeps the refresh token, as for any other outage.