Programatically login
Posted: Thu Jan 30, 2014 3:29 pm
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.
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.