In the Episcopal Church (of the U.S.), and doubtless in others, my understanding has always been that wedding ceremonies are just as open to the public as any other church service. [0]
(In contrast, the reception would be a private event.)
[0] https://www.episcopalchurch.org/glossary/celebration-and-ble...