[solved] Authentication failed on Mac pydioSync

When I try to login using the Mac app, I get the following error message:

Error while trying to connect to http://… :
Authentication failed: please verify your login and password

Login through web and iPhone app works fine though.

I’m using only HTTP for now.

EDIT:

Testing on /runTests.php?api=true gave me this message:

Getting authentication token with user credentials
Data returned is not JSON! There is something wrong with the API. Exiting.NULL

Hi, you must have an issue with the RewriteRules. Look in the Admin Guide for the section about setting apis.

Thanks, @charles!

The problem solved after I uncommented this line in .htaccess:

SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1