Caramelize the onions: slice the onions into thin slices or finely chop them, depending on your preference.Bring a medium-sized saucepan to low-medium heat. Add the vegetable oil, and once warm, add the onions.Toss the onions with a wooden spoon so that all of the oil evenly coats them. Slowly cook the onions on a gentle simmer for 45 to 60 minutes. This will develop a deep caramelization and rich flavor.Optional: if you notice the pan is absorbing too much liquid, deglaze with about a tablespoon of water as needed, to prevent the onions from sticking.Once the onions are deeply golden, jammy, and caramelized, deglaze with the balsamic vinegar, stir to combine then remove the onions from the heat and set aside until ready to use. While the onions are cooling, prepare your casserole. Grab a 9x13 baking dish and spray it with a neutral cooking oil.
Tear your croissants into cubes and layer them evenly in the prepared baking dish. Spoon the caramelized onions into the crevices between the croissant cubes, ensuring they are evenly distributed throughout the dish, then layer on the shredded gruyere cheese.Set aside while you prepare your egg mixture. In a medium-sized bowl, add the eggs, heavy cream, milk, dijon mustard, garlic powder, onion powder, dried parsley, dried thyme, black pepper, and a pinch of salt. Whisk thoroughly until everything is well combined.
Pour the egg mixture evenly over the croissant pieces, making sure it is distributed across the entire dish.
Using the back of a wooden spoon or a spatula, gently press the croissant mixture down so that the croissants are almost submerged in the egg mixture.
Cover the casserole with aluminum foil and refrigerate it ideally overnight, or for at least 1 hour.
When ready, preheat your oven to 350°F. Ideally, remove the casserole from the fridge about 30 minutes before baking to let it take the chill off.
Bake the casserole covered for about 30 minutes. Then uncover it and bake for an additional 25 to 30 minutes, or until it’s fully set. Keep an eye on it, as baking times may vary by oven.
Finish with a drizzle of balsamic glaze.
Let it cool on the counter for at least 10 minutes before slicing and serving.