The Flying Eagles have comfortably secured a qualification for the second round of the U20 World Cup holding in New Zealand after seeing off their Hungarian opponents by two goals to none.
The Flying Eagles play Germany in the next round.
After garnering a total of six points, the Flying Eagles have come second in their group, which comprised Brazil, North Korea and Hungary.
Brazil have gained the total nine points available after winning all their three matches including the 4-2 victory against Nigeria in the opening match, which the Nigerians have put behind themselves now.
The Hungarians still qualify, though, as one of the best third-placed teams and will now kick off the knockout phase against Group D winners Serbia in Dunedin.
Awoniyi scored both goals for Nigeria. The opener was slotted in 35 minutes into the match and the Hungarian hope was finally sealed with a second goal scored in the 54th minute.