fix(auth): classify missing OAuth scopes as auth failures (#24761)

This commit is contained in:
Peter Machona
2026-02-24 03:33:44 +00:00
committed by GitHub
parent 38da3f40cb
commit 9ced64054f
2 changed files with 7 additions and 0 deletions

View File

@@ -655,6 +655,9 @@ const ERROR_PATTERNS = {
"unauthorized",
"forbidden",
"access denied",
"insufficient permissions",
"insufficient permission",
/missing scopes?:/i,
"expired",
"token has expired",
/\b401\b/,