App Access Topic is solved

Moderator: leecollings

Post Reply
User avatar
Luxtux
Posts: 31
Joined: Monday 14 August 2017 15:16
Target OS: Linux
Domoticz version: 2021.1 β
Location: Luxembourg
Contact:

App Access

Post 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?
User avatar
FireWizard
Posts: 1745
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: App Access

Post by FireWizard »

User avatar
Luxtux
Posts: 31
Joined: Monday 14 August 2017 15:16
Target OS: Linux
Domoticz version: 2021.1 β
Location: Luxembourg
Contact:

Re: App Access

Post 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?
User avatar
Luxtux
Posts: 31
Joined: Monday 14 August 2017 15:16
Target OS: Linux
Domoticz version: 2021.1 β
Location: Luxembourg
Contact:

Re: App Access

Post 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

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest