South Africa and Senegal have secured spots at the 2023 Africa Cup of Nations in Ivory Coast after defeating Mozambique 1-0 and Liberia 2-1 respectively on Tuesday.