If mappers logged in with OpenStreetMap (OSM), and we were editing OSM geometries in our QField project, then this would allow for easy attribution of user edits when uploaded.
---
Tech details:
  • Suggesting this here instead of the https://github.com/opengisch/QFieldCloud repo to gauge interest. This is easy enough to implement as an OAuth provider, but there are some caveats.
  • OSM doesn't correctly implement the entire OAuth 2.0 spec. To work around this in another project, I made a small Golang binary middleware: https://github.com/hotosm/login/tree/main/osm-userinfo (returning the logged in user info in the correct format).
  • Something else to consider is that unlike most OAuth providers, OSM does not return an email address. There is no way to link up profiles between different OAuth providers. A workaround to this could be a separate 'Connect to OSM' workflow, for already logged in users (however, this means modifying the UI, so probably not desirable). Simple primary OAuth login via OSM is a good start point.
  • I have worked with OSM OAuth a lot and would happily make a PR for this, after small discussion / clarification.