Do you need a passport for the last 111 km of the Camino de Santiago?

Hello, At the end of July, we'll be walking the Way of St. James from Sarria (Spain, the French part of the Way of St. James) to Santiago de Compostela. My best friend read online that you need a passport in some places. I can't imagine that because we are in Europe and no passport…