Page 1 of 1

Send login credentials via URL/other?

Posted: Monday 25 January 2021 11:52
by bottledbirb
Hey all!

I have Domoticz set up with different users, each with their own permissions. Now, I'd like for my SSO system to automatically authenticate a user into my domoticz web console. I was thinking of having some sort of web service translate my SSO info into domoticz credentials and send them via the URL, but I don't think domoticz works this way. Is there any way/plugin/etc to send the credentials to my domoticz website to allow this?

Thanks!

Re: Send login credentials via URL/other?

Posted: Monday 25 January 2021 14:47
by erem
whats wrong with http(s)://user:pass@domoip:port

Re: Send login credentials via URL/other?

Posted: Monday 25 January 2021 15:42
by bottledbirb
I've tried that, and while it works perfectly when typing the IP, it still asks me for user+password when using my Domoticz's DNS name. I've got a pretty basic Nginx installation going on, due to having several websites running on the same physical server. domoticz.mysite.com for example, leads to it, but even using viewer:[email protected] just pulls up the login page

Re: Send login credentials via URL/other?

Posted: Monday 25 January 2021 15:54
by bottledbirb
Scratch that, wasn't adding the https:// myself and I guess it just got redirected to the basic site. Login from URL is working now! Only weird thing is the theme being a bit wonky, but I'll work on it or post in the appropriate section if I don't

Thanks erem!