The only times I had to provide a scan of my passport was to cross a border:
- get a VISA to be allowed to cross the border
- send to the airline for my flight that will cross the border
- show the real passport at the border
I have another ID for authentication inside my country, which by the way, is not a driving license (which is used only for car driving usage).