mikifus / padland

Padland is a tool to manage, share, remember and read collaborative documents based on the Etherpad technology in Android.
Apache License 2.0
63 stars 15 forks source link

Add reregistration support for htaccess protected Padserver #58

Open CCRRX opened 3 years ago

CCRRX commented 3 years ago

Im hosting etherpad on my own and the Server is protected by a htaccess by nginx. Basically the login works, but i get an blank form. Of course i know that i enter the username at the top and the password at the bottom. I can live with this bug. I would be very happy if it is possible to provide an automatic registration or something similar for htaccess. If i want to write something down quickly in a pad, but have to enter my access data every time before, it is very anoying.

Thanks for that great App!

mikifus commented 3 years ago

I've been thinking about this issue and I can't find a way to implementing it without overkilling the app with a feature that few people will use and can be a security risk too. On top of that, it is the expected behavior of HTTP Auth to ask for the credentials each time, just browsers conveniently save them for you.

One (unsafe) workaround can be to add the credentials in the URL when adding a new pad, which I can't say if it'll work. For example: https://myuser:mypass@mypadhost.com/p/documentname

Another option is that you modify the way your login works, wich can also be tricky. I can't say wich option would actually work, but you could login with a digital certificate that you add to your Android keyring, for example.

Maybe using KeePassX for Android could save you some time when entering the credentials.