For bishulei goyim it is not enough that a Jew light the oven, as in bread. As the Shulchan Aruch wrote, what matters is that a Jew place the dish on the fire. The Rema wrote that Ashkenazim practice that lighting helps, but the Taz and the Gra wrote not to be so lenient, except in a Jew’s house.