Extending Schur orthogonality from a dense span
Let $G$ be a group with a topology and a measurable structure in which open sets are measurable, let $\mu$ be a measure on $G$, and let $H$ be a complex inner product space. Let $\pi:G\to\mathcal L(H)$ be a strongly continuous representation by norm-preserving bounded complex-linear operators. Fix $d>0$ and $S\subseteq H$ with dense complex linear span. Suppose that, whenever $v,w,v',w'\in S$, the function $$g\longmapsto\langle w,\pi(g)v\rangle\overline{\langle w',\pi(g)v'\rangle}$$ is integrable and its integral is $d^{-1}\langle v',v\rangle\langle w,w'\rangle$. Then the same integrability and integral identity hold for all $v,w,v',w'\in H$.
Inner products are linear in the second argument; completeness of $H$ is not assumed.