mickstar / Zoo-For-Zotero

This is an Android app for viewing Zotero libraries.
563 stars 53 forks source link

WebDAV support for "AuthType Digest" #138

Open FilipVaverka opened 3 years ago

FilipVaverka commented 3 years ago

Is it possible (and/or desirable) to add support for Digest authentication method?

I had some issues connecting to my WebDAV server (Ubuntu/Apache2), which I use with no issues with desktop Zotero app. After some testing I figured out that Zoo for Zotero always uses only "Basic" authentication, while I had set up Apache with "AuthType Digest". The desktop Zotero app seems to be able to switch between Digest and Basic on its own.

mickstar commented 3 years ago

This is an issue with the WebDAV library I'm using. Unfortunately there seems to be only 1 WebDAV library available for Android.

On Thu, 13 May 2021, 5:51 am FilipVaverka, @.***> wrote:

Is it possible (and/or desirable) to add support for Digest authentication method?

I had some issues connecting to my WebDAV server (Ubuntu/Apache2), which I use with no issues with desktop Zotero app. After some testing I figured out that Zoo for Zotero always uses only "Basic" authentication, while I had set up Apache with "AuthType Digest". The desktop Zotero app seems to be able to switch between Digest and Basic on its own.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mickstar/Zoo-For-Zotero/issues/138, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAV2V75JTA6Q5CPISTTBA3TNLL47ANCNFSM44ZIC4AQ .

FilipVaverka commented 3 years ago

Maybe it could be done with okhttp-digest? However, "Basic" over SSL may very well be fine - I don't see into this much.