When two factor authentication (TOTP, U2F etc) is enabled on a NextCloud instance and I'd like to set it up via WebDAV in the Remote Files dialog, the authentication fails because asking for the second factor is not supported. 1. Have access to a NexctCloud instance and enable two factor authentication. 2. Try to set it up in the Remote Files dialog. After entering the user name and password the authentication fails and the dialog does not ask for the second factor. This did not work with the webdav-neon backend, nor does with the new webdav-curl.
i dont think curl supports anything like WebAuthn or TOTP tokens, that's a protocol on top of HTTP that is some effort to implement. it would be possible to use TLS client-side certificate as 2FA perhaps, but probably few users want that. so for now with NextCloud it's necessary to set up a Device Password.