Preheat the oven to 425°F (220°C). Pat the chicken dry with paper towels and season all over with kosher salt and black pepper. Using kitchen shears, cut along both sides of the backbone and remove it. Turn the chicken breast-side up and press firmly on the breastbone until the chicken lays flat.
Spread the sliced onion and whole garlic cloves in the bottom of a roasting pan, baking dish, or large cast-iron skillet and toss in 1 tbsp olive oil. Place the chicken skin-side up on top of the onions. In a small bowl, combine lemon juice, Herbs de Provence, and remaining 3 tbsp olive oil. Brush or rub the mixture over the entire chicken.
Roast the chicken for 40 minutes. Rotate the pan halfway through cooking for even browning. At the same time, add the broth. Carefully pour the chicken bone broth (or white wine) into the side of the pan, avoiding the chicken skin. Continue roasting for 20 to 30 minutes, or until the thickest part of the breast reaches 160°F on an instant-read thermometer and the skin is deeply golden brown.
Remove from the oven and loosely tent with foil. Let rest for 10 minutes before carving. Carve the chicken, remove the garlic skins, and serve with the roasted onions and pan juices.