Send login credentials via URL/other? Topic is solved

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

Post Reply
bottledbirb
Posts: 4
Joined: Monday 25 January 2021 11:48
Target OS: Linux
Domoticz version:
Contact:

Send login credentials via URL/other?

Post 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!
User avatar
erem
Posts: 230
Joined: Tuesday 27 March 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Amsterdam/netherlands
Contact:

Re: Send login credentials via URL/other?

Post by erem »

whats wrong with http(s)://user:pass@domoip:port
Regards,

Rob
bottledbirb
Posts: 4
Joined: Monday 25 January 2021 11:48
Target OS: Linux
Domoticz version:
Contact:

Re: Send login credentials via URL/other?

Post 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
bottledbirb
Posts: 4
Joined: Monday 25 January 2021 11:48
Target OS: Linux
Domoticz version:
Contact:

Re: Send login credentials via URL/other?

Post 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!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest