mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-08-24 06:39:52 -05:00
Three Debug-level log calls in the token-exchange path logged the raw response body/full oauth2.Token on error. The full token struct has no String() override, so %v printed AccessToken/RefreshToken in clear text; the raw response body could similarly carry sensitive request/response context. Log the RFC 6749 error/error_description fields (successful-exchange-but-missing-id_token path: the token type) instead - the intended human-readable diagnostic.