mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 10:01:24 +00:00
fix(auth): classify missing OAuth scopes as auth failures (#24761)
This commit is contained in:
@@ -655,6 +655,9 @@ const ERROR_PATTERNS = {
|
||||
"unauthorized",
|
||||
"forbidden",
|
||||
"access denied",
|
||||
"insufficient permissions",
|
||||
"insufficient permission",
|
||||
/missing scopes?:/i,
|
||||
"expired",
|
||||
"token has expired",
|
||||
/\b401\b/,
|
||||
|
||||
Reference in New Issue
Block a user