fix: mark connector auth_expired on token decryption failure

This commit is contained in:
CREDO23 2026-04-23 09:27:03 +02:00
parent 2eb0ff9e5e
commit cf7c14cf44

View file

@ -895,6 +895,7 @@ async def load_mcp_tools(
"Skipping MCP connector %d — OAuth token decryption failed",
connector.id,
)
await _mark_connector_auth_expired(connector.id)
continue
trusted_tools = cfg.get("trusted_tools", [])