Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android unable to login on server with Basic Authentication #5425

Open
onelsonic opened this issue Jan 25, 2021 · 3 comments
Open

Android unable to login on server with Basic Authentication #5425

onelsonic opened this issue Jan 25, 2021 · 3 comments
Labels
Milestone

Comments

@onelsonic
Copy link

When enabling the Htaccess server Authentication (on an Openlitespeed server) the login on the Android App does not works.

Entering the following infos : (using my custom server)

You will get a popup :
Enter authentification code.
It looks like you may be using two-factor authentication. Please enter the six-digit code to log in to your account.

This popup will show up both if the two-factor authentication is setup or not in the matomo web interface.

And interesting fact is when you browse this URL in a browser :

https://myusername:secret@myserver/matomo/
I can see the Matomo login panel and if I enter (username/password) I can log myself.

So it seems to be a problem with the App.
(On iOS same problem but different error message)

So there is a problem with the login process in both App iOS/Android when using a server with Htaccess Authentication.

@tsteur
Copy link
Member

tsteur commented Jan 25, 2021

@onelsonic any chance you can try if it works when disabling basic authentication on your server?

@onelsonic
Copy link
Author

Android :

Server Authentification Two-factor authentication (2FA)
ON ON error Two-factor
ON OFF error Two-factor
OFF ON login ok
OFF OFF login ok

And a Server Authentification problem on android.

@tsteur tsteur changed the title Android unable to login on server with Authentication Android unable to login on server with Basic Authentication Jan 25, 2021
@tsteur tsteur added the bug label Jan 25, 2021
@tsteur tsteur added this to the 2.3.0 milestone Jan 25, 2021
@tsteur
Copy link
Member

tsteur commented Jan 25, 2021

Thanks for testing @onelsonic Any chance you're seeing any error messages in the webserver logs when trying to authenticate? All good if you can't check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants