Euclid: early release observations - unveiling the morphology of two Milky Way globular clusters out to their periphery