Preheat the oven to 180°C.
Heat the oil in an ovenproof dish over medium and brown the skin of the chicken pieces.
Meanwhile, slice the spring onions.
Transfer the chicken pieces to a plate, then fry the spring onion & half of thyme leaves for a minute.
Remove the husk of the garlic bulbs but don't peel the cloves. Crush them slightly with a flat knife.
Scatter half of the garlic cloves over the onion, lay the chicken thighs (skin up) on top, then scatter the remaining garlic cloves around the chicken pieces.
Pour the wine over, season with salt and pepper, then sprinkle with the remaining thyme leaves.
Cover and bake for about 45 minutes until golden brown.
Serve warm with side dishes of your choice.