Heat the olive oil in a medium saucepan over medium heat. Add in the onions and garlic and season with salt. Sauté until translucent, about 5 minutes.
1 tablespoon olive oil, 1 small yellow onion, 2 garlic cloves, 1/2 teaspoon kosher salt
Whisk in the spices and toast for 30 seconds.
1 1/2 tablespoon cumin, 1 tablespoon chili powder, 1/2 teaspoon paprika, 1/4 teaspoon cayenne pepper
Whisk in the tomato sauce, chicken stock, vinegar, and sugar.
15 ounces tomato sauce, 1 cup chicken stock, 2 1/2 tablespoons white vinegar, 2 teaspoons granulated sugar
Bring to a simmer and cook for 15 minutes. Either leave it as is or transfer to a blender to puree.
Use immediately, store in an airtight container in the refrigerator for up to 1 week, or freeze in an airtight container for up to three months.