In a pot or pan with sides at least 4-inches high that will hold the chicken thighs in a single layer, heat 2 tablespoons oil over medium-high heat. I have made this dish in a Dutch oven, a high-sided braiser, and even a cast iron skillet.
Thoroughly dry chicken thighs and salt and pepper both sides, generously on the skin-side. Place chicken thighs in pot with skin side down. It will sizzle a lot, don't worry do not touch the chicken thighs once they are in the pot. Brown the skin-side until dark golden, about 8 minutes. If the pot starts to smoke or smells like the chicken is burning, turn the heat down a little.
(Every recipe I've ever read for crispy chicken thighs instructs you to brown the skin side for a mere 3 to 4 minutes which must be some sort of CYA insurance for burning the chicken since you can always cook something a little more later, but you can't undo anything that's overcooked, let alone burnt. Be brave. Embrace the dark brown. Go for the full 8 minutes.)
Flip chicken thighs over and brown the "underside" for about 5 minutes. Transfer browned chicken to a plate.
Turn stove's heat down to medium and add onions to pot. Cook until translucent, then add garlic and herbs. Stir and cook until onions and garlic are lightly browned. Add white wine to the pot and scrape up the brown bits from the bottom of pot (the wine will help loosen the bits).
Return the browned chicken thighs to the pot, nestling them down between the cooked onions, skin-side up. Add enough chicken stock to cover the onions and garlic and about ¾ up the sides of the chicken thighs, leaving the chicken skin out of the stock. Turn up the heat, bring to a boil, then turn down heat and simmer the chicken for 25 minutes.