Programatically login

Forum for questions and support relating to the 1.25.x releases only.
Locked
dantux
Posts: 12
Joined: Wed Jun 13, 2012 4:15 am

Programatically login

Post by dantux »

Hi everyone,

I have the following requirement to which I didn't find a solution yet:
I have a personal site where users use my authentication method (db based) and within the site, I have an iframe showing the video stream from another server running zoneminder (it's an iframe).
For obvious reasons, the zoneminder server is using authentication, but I would like to log in the users automatically to zoneminder, once the main site confirms they are authenticated.
How do I accomplish that? I have the ability to get the username and hashed password from the zoneminder server under my current database for the user if needed; but I don't know how to use this information for autologin.
Any ideas are greatly appreciated.
Locked