Tileable Normal Map Causing Hard Shadows on Beveled Edge with Static Lighting

I’ve been stuck with this same problem for a long time until I found a solution. I hope it helps you and anyone else who comes across the same problem.
I have managed to solve it by setting up the cascaded shadow maps of the directional light.
image