Files
open-webui/backend/open_webui/utils
Classic298andGitHub 39c1e86e95 chore: keep OAuth token payloads out of logs (#29709)
Two OAuth failure paths interpolated the raw token object into their log message. On the callback path that object is a live credential set, so a provider returning no user data wrote an access token, and usually a refresh token, straight into the application log.

Both messages now log without the payload. The token-exchange failure keeps its error level and its client_id binding and reports the provider's error description instead of the raw response body, which by that branch's own condition never contained an access token anyway. The callback failure keeps its warning level and identifies the provider, matching the other failure logs in that handler.
2026-09-06 16:19:23 -04:00
..
2026-06-29 11:56:00 -05:00
2026-08-24 18:29:36 -04:00
2026-08-31 01:06:15 -04:00
2026-08-29 16:14:32 -04:00
2026-07-23 02:54:56 -04:00
2026-07-26 21:12:14 -04:00
2026-07-31 17:41:14 -04:00
2026-08-23 13:36:53 -04:00
2026-08-31 00:11:13 -04:00
2026-08-31 01:29:36 -04:00
…
2026-08-24 18:38:29 -04:00
2026-08-10 19:28:21 -06:00
2026-08-31 00:39:16 -04:00
2026-07-26 23:09:22 -04:00
2026-08-31 00:53:55 -04:00
2026-07-27 19:39:36 -04:00
2026-08-16 22:56:19 -07:00
2026-08-17 00:57:57 -07:00
2026-08-24 18:29:36 -04:00
2026-08-25 16:53:53 -04:00
…
2026-08-19 22:48:32 -07:00
2026-08-25 16:53:53 -04:00
2026-08-31 00:05:34 -04:00
2026-07-27 19:39:36 -04:00
2026-07-31 17:41:14 -04:00