Sun Lamp not shining through Glass
in eevee you can use this setup:
-&gt; important is the blend and shadow mode of the material.

if you then toggle to cycles, it works as well:

and here is the blend file: