In a small saucepan, saute the onions and minced garlic over slightly higher than medium heat in the 3 Tablespoons of oil until the onions turn translucent. Then add the jam mixture, stir to combine ingredients, and turn the heat down to medium low, allowing the glaze to simmer and thicken for about 4 minutes. If it gets hot enough to splatter during the process, turn the heat down a little. If you’d like to add some heat to the glaze, you can add crushed red chili flakes to taste.