nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
27.54k stars 4.08k forks source link

Extendible anonymous sharing authentication options #38906

Open usselite opened 1 year ago

usselite commented 1 year ago

How to use GitHub

Is your feature request related to a problem? Please describe. Currently in Nextcloud it is only possible to protect anonymous shares using a password (or no password). For Sendent we'd like to introduce an alternative flow where the authentication on the share itself can be done by different means instead of the already available password authentication option. For example, instead of using passwords you could also authenticate using captcha's, make some SMS message flow, implement something with e-ID. These are all just examples.

Describe the solution you'd like What I'd like to propose is to make the share creation, accessing etc. more accessible for 3rd party solutions (official Nextcloud api). The 3rd party solutions in this case would handle the entire authentication flow theirselfs and inform Nextcloud only if it succeeded (or not).

Please notice, in the image attached the discussion should not be about asking for a phonenumber or something else. It should be about the logic handeling.

What I think would work is:

Describe alternatives you've considered No clear alternative solution.

Additional context In my example image I try to define overall how it could work with asking a user of a phonenumber and generating a temp code instead of a regular password. Please note that the 3rd party integration handles all logic and only offers to the Nextcloud Server basic information like UI or displaying the share contents if it receives go-ahead from 3rd party solution. example_proposal

joshtrichards commented 3 weeks ago

Related: #44406