I think, sadly, that either sending in your national ID
That’s why I mentioned the idea of “Zero Knowledge Proofs”. Using a ZK-proof, one should be able to prove ownership of an ID without having to reveal it to anyone else.
At that point, it’s not its own web app anymore, more akin to an email program.