App password problem with user_saml


I am trying to connect with the desktop client as the server uses the user_saml app.
My goal is to use the desktop client for ldap or local accounts only. Saml users will only use web access.

While configuring the client, I have the message using the password generated from the user web space
“Impossible access”
and in the server’s log: à 401 error
[11/Sep/2018:18:32:51 +0200] “PROPFIND /remote.php/webdav/ HTTP/1.0” 401 1687 “-” “Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)”

The screen before I have tried to use the local or ldap login uri instead of the default which is a choice between ldap, local user vs user_saml choice but I cannot reach the server

Has somebody an idea of the problem ?