Preheat your oven to 400°F and line a baking sheet with aluminum foil for easy cleanup.
In a small bowl, mix together garlic powder, smoked paprika, onion powder, dried oregano, cayenne pepper (if using), kosher salt, and black pepper.
Place chicken thighs in a large bowl, drizzle with olive oil, and sprinkle the spice mixture over them. Toss to coat evenly.
Arrange the seasoned chicken thighs on the prepared baking sheet in a single layer.
Bake in the preheated oven for 20 minutes or until the internal temperature reaches 165°F.
Remove the chicken from the oven and brush generously with BBQ sauce.
Return to the oven and bake for an additional 10 minutes, or until the BBQ sauce is sticky and caramelized.
Let the chicken rest for 5 minutes before serving.