Custom Two provider app can not login from android application


#1

Actual behaviour

i have created two factor app , from this document : https://doc.owncloud.org/server/10.0/developer_manual/app/two-factor-provider.html
on web browser , everything is ok , provider works like a charm ,
but on Android application , it says " wrong username or password " .
i read about adding App password , but nothing change , maybe i do wrong , don't know ,

Expected behaviour

i want to show my provider on android application too .
user is coming to login , after checking username and password , it shows an extra page , to verify authentication .

Environment data

Android version: 2.4.0

Logs

ownCloud log (data/owncloud.log)

HTTP\\/1.1 401 No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured, No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured


#2

This authentication flow will only work once we release new clients with oauth support and the oauth server app.

Nevertheless - app passwords shall work unless your app is intercepting this flow as well ....


#3

i solve it by creating an handshake app just for application