Page 1 of 1

App Access

Posted: Wednesday 06 May 2020 22:00
by Luxtux
Good evening,

In the last few days i'm unable to connect to my domoticz instance via the paid android app. Apparently im no longer allowed to used basic auth and need to use the logon page. this is an issue for my current set up

Code: Select all

        <Location /domoticz/json.htm>
                AuthType Basic
                AuthName "Basic auth"
                AuthBasicProvider file
                AuthUserFile "/var/www/shared/psswd/passwords"
                Require valid-user
        </Location>
        
        ProxyPass /domoticz/json.htm https://domoticz/json.htm
        proxyPassReverse /domoticz/json.htm https://domoticz/json.htm
even by removing the password it doesnt work anymore. could you please tell me why this doesnt work anymore?

Re: App Access

Posted: Wednesday 06 May 2020 22:17
by FireWizard

Re: App Access

Posted: Wednesday 06 May 2020 22:51
by Luxtux
thank you for that but i would like to authorise the minimum amount of files to be shared with the outside world. is there some login page i need to make available?

Re: App Access

Posted: Thursday 07 May 2020 13:30
by Luxtux
ok after reading some more posts. i found that i was not forwarding login check. My apache configuration now looks like this

Code: Select all


	ProxyPass /domoticz/logincheck https://domoticz/logincheck
        proxyPassReverse /domoticz/logincheck https://domoticz/logincheck
        
	ProxyPass /domoticz/json.htm https://domoticz/json.htm
        proxyPassReverse /domoticz/json.htm https://domoticz/json.htm