Peseiro's team still had the advantage, with a goal from William Troost-Ekong, in the 38th minute, but the 'elephants' reached victory in the second half, with goals from Franck Kessie, in the 62nd, and Sebastien Haller, in the 81.
Ivory Coast thus reached its third trophy in the competition, after triumphs in 1992 and 2015, while Nigeria missed its fourth, after winning in 1980, 1994 and 2013.