01 - Preheat oven to 400°F (200°C). Position the rack in the center of the oven.
02 - In a large mixing bowl, combine grated ginger, minced garlic, tamari, honey, olive oil, rice vinegar, black pepper, sea salt, ground coriander, and red chili flakes. Whisk until well blended.
03 - Pat the chicken thighs dry with paper towels. Add them to the marinade and toss thoroughly to coat each piece evenly. Allow to marinate at room temperature for at least 15 minutes, or cover and refrigerate for up to 4 hours for deeper flavor penetration.
04 - Scatter the sliced onions and lemon slices across the bottom of a 9x13-inch baking dish to create an aromatic bed for the chicken.
05 - Place the marinated chicken thighs skin-side up on top of the onion and lemon layer. Pour any remaining marinade evenly over the chicken.
06 - Bake uncovered for 40 to 45 minutes, until the skin is golden brown and the internal temperature of the thickest part of the thigh registers 165°F (75°C).
07 - For extra-crispy skin, switch the oven to broil on high for the final 2 to 3 minutes, watching carefully to avoid burning.
08 - Remove from the oven and let the chicken rest for 5 minutes to allow the juices to redistribute. Garnish with fresh chopped cilantro or parsley before serving.