For the enchilada sauce: stir flour, chili powder, cumin, garlic powder, oregano, salt, pepper, and onion powder together in a small bowl. Heat oil in a pot over medium heat. Whisk in spiced flour.