2fast-team / 2fast

Two-Factor Authenticator Supporting TOTP (Windows 10 & Android, iOS, Linux and macOS App)
https://2fast-app.de
GNU General Public License v3.0
393 stars 42 forks source link

Webdav authentication to infinicloud not possible #151

Open jp-weber opened 1 month ago

jp-weber commented 1 month ago

Discussed in https://github.com/2fast-team/2fast/discussions/150

Originally posted by **sageres1** July 23, 2024 Has anyone able to successfully authenticate to infinicloud? For some odd reason I am getting an error message, "The address to the WebDav service could not be found", yet if I were to try pasting from my browsers -- I get a login prompt. The service address is https://domi.teracloud.jp/dav/

The problem is that the status.php page of the webDAV service requires authorisation, which is not defined in the app: https://domi.teracloud.jp/dav/status.php

An attempt is currently being made to determine the server status here without login data in order to then carry out the login. If an error 401 is returned, an attempt must be made to authenticate on the status.php page. https://github.com/2fast-team/2fast/blob/master/WebDAVClientPortable/Client.cs#L745