server icon indicating copy to clipboard operation
server copied to clipboard

Log in to web interface via authenticating via mobile (probably with QR code)

Open PhoenixIV opened this issue 5 years ago • 13 comments

How to use GitHub

  • Please use the 👍 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

This is a re-opening of https://github.com/nextcloud/server/issues/28961 , as my request / tagging there was ignored. The suggestion was misunderstood.

I suggest to add a "log in with QR code" option to the web interface. I have to log in to the web interface from foreign machines quite often. I would like to be able to skip putting in my complicated password every time by using my Smartphone, which has the NextCloud app installed, to give me access to my files on a computer's browser.

@szaimen closed https://github.com/nextcloud/server/issues/28961 because he/she understood I ask for the other way round (log in to the smartphone app when I am already logged in to the web interface - which is waay less handy because this is only done once and for all, while what I suggest needs to be done multiple times a day).

PhoenixIV avatar Oct 08 '21 12:10 PhoenixIV

Here is another idea how this could be done: https://github.com/nextcloud/server/issues/29456

szaimen avatar Oct 31 '21 14:10 szaimen

We already have this

  • go to settings -> security
  • click "create new app password"
  • click on "show qr code for mobile apps"

image (you can even try it, it tries to connect to http://localhost/nc with user tobi)

I remember that we discussed to reduce steps and also make it more visible @nextcloud/designers

tobiasKaminsky avatar Nov 09 '21 06:11 tobiasKaminsky

@tobiasKaminsky please read my first post carefully again, follow the link to the issue that was closed and state if what you speak about is what I suggest. Sincerely.

PhoenixIV avatar Nov 09 '21 14:11 PhoenixIV

@szaimen reading #29456 I am not sure if this is meant to unlock the web interface from my phone. I imagine, like @tobiasKaminsky said over at #29456, clicking on "Log in with device" on any browser and then use my phone to verify who wants to login.

PhoenixIV avatar Nov 09 '21 14:11 PhoenixIV

🙈 Sorry, I did the same mistake as Simon…

So you want to login on your web browser without typing in your password? Then it would be the same #29456 As it was said in the other ticket using QR code might be to limiting, so instead having the pin would be a nice idea?

If you like the idea, I think we can close this issue here and discuss further in #29456

tobiasKaminsky avatar Nov 10 '21 07:11 tobiasKaminsky

I still like the QR code idea because

  1. Everyone has a Smartphone
  2. I do not need to type anything on my mobile

PhoenixIV avatar Nov 10 '21 19:11 PhoenixIV

Just coming back from https://github.com/nextcloud/server/issues/29456 here is a completely different idea how to achieve logging in to the web interface using an already signed in device:

Just type your user name in the web interface and then send a push notification to all other logged in sessions to allow access.

PhoenixIV avatar Oct 05 '22 08:10 PhoenixIV

I still like the QR code idea because

  1. Everyone has a Smartphone
  2. I do not need to type anything on my mobile

But not everyone knows how to use a qr code nor does android comes with one built-in (Totally weird, I know, learned that the hard way when asking family members to do so :see_no_evil:)

skjnldsv avatar Oct 17 '22 06:10 skjnldsv

You would scan the code from within the Nextcloud App, having a scanner built into it. You need the app to identify / authenticate yourself.

DAUs can always use username/password.

PhoenixIV avatar Oct 17 '22 12:10 PhoenixIV

But not everyone knows how to use a qr code nor does android comes with one built-in (Totally weird, I know, learned that the hard way when asking family members to do so 🙈)

Hello, I want to say that this authentication mode is very widespread in Italy because Poste Italiane (an Italian State-owned bank/post office/digital identity provider) uses it.

fpesari avatar Sep 15 '23 05:09 fpesari

But not everyone knows how to use a qr code nor does android comes with one built-in (Totally weird, I know, learned that the hard way when asking family members to do so 🙈)

Hello, I want to say that this authentication mode is very widespread in Italy because Poste Italiane (an Italian State-owned bank/post office/digital identity provider) uses it.

It would be a very nice solution

leosamuele221 avatar Jan 26 '24 14:01 leosamuele221

Does a plugin exists to achieve this behavior, all related issues seem to be pretty inactive?

lr101 avatar Feb 06 '25 05:02 lr101

Waiting this feature as Dropbox already made it

PoTDev avatar Nov 07 '26 10:11 PoTDev