No, not all German Shepherds have brown eyes.
While brown eyes are the most common eye color for German Shepherds, they can also have:
Amber eyes: A warm, reddish-brown color.
Blue eyes: Less common, but possible.
Heterochromia: Having two different colored eyes. This is rare, but can occur in German Shepherds.
The color of a German Shepherd's eyes is determined by the amount of melanin present in the iris. The more melanin, the darker the eyes.