fix: treat OAuth refresh failures as auth errors (#1261) (thanks @zknicker)

Co-authored-by: Zach Knickerbocker <zknicker@users.noreply.github.com>
This commit is contained in:
Peter Steinberger
2026-01-20 09:31:24 +00:00
parent 94af5a72fc
commit aedf4ce328
3 changed files with 12 additions and 0 deletions

View File

@@ -328,6 +328,8 @@ const ERROR_PATTERNS = {
"incorrect api key",
"invalid token",
"authentication",
"re-authenticate",
"oauth token refresh failed",
"unauthorized",
"forbidden",
"access denied",