Let $O$ be the center of the inscribed square. Moreover let $D$ be the vertex of the square along $AB$ and let $E$ be the vertex of the square along $AC$. Then $DE$ is parallel to $BC$ and, by the law of sines applied to the triangles $\triangle ADO$ and $\triangle AEO$, we have that $$\frac{|DO|}{\sin(DAO)}=\frac{|AO|}{\sin(B+45^{\circ})} =\frac{|AO|}{\sin{(C+45^{\circ}})}=\frac{|EO|}{\sin(EAO)}$$ where the second equality holds because $B+C=90^{\circ}$. Note that $|DO|=|EO|$, hence it follows that $\sin(DAO)=\sin(EAO)=\cos(DAO)$, that is $DAO=EAO=45^{\circ}$.