Files
open-webui/backend/open_webui/utils
Classic298 f7c8ad012d fix: requests authenticated with the x-api-key header are missing from the audit log (#32443)
With audit logging on, requests that used an API key in the x-api-key header (what Anthropic SDKs send) worked but never showed up in the audit log, because the audit check only looked for a Bearer token or a session cookie. These requests are now logged with the user the key belongs to, and this also covers a custom header set through CUSTOM_API_KEY_HEADER. Failed attempts with a wrong key in that header now appear in the log without a user, just like a wrong Bearer key. A malformed Authorization header with no other credential is no longer logged, since it can never authenticate.
2026-10-15 13:59:03 +04:00
..
2026-10-08 14:30:07 +04:00
2026-10-10 23:50:29 +04:00
2026-10-01 03:31:20 +04:00
2026-10-14 17:10:08 +04:00
2026-08-24 18:29:36 -04:00
2026-10-05 12:17:25 +04:00
2026-10-14 23:58:58 +04:00
2026-10-12 17:29:04 +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-10-14 18:35:56 +04:00
2026-10-01 03:31:20 +04:00
2026-10-14 23:21:22 +04:00
2026-07-26 23:09:22 -04:00
2026-10-10 23:18:09 +04:00
2026-10-09 18:37:55 +04:00
2026-03-17 17:58:01 -05:00
2026-08-24 18:29:36 -04:00
2026-10-14 18:11:14 +04:00
2026-10-11 00:55:58 +04:00
2026-10-13 19:10:21 +04:00
2026-10-10 23:18:09 +04:00
2026-10-14 23:21:22 +04:00
2026-10-13 20:04:28 +04:00
2026-09-15 22:47:03 -04:00
2026-10-11 15:55:57 +04:00