Allowing users to login "On the fly" from other systems
Article ID:
000045
Rating:
0.0 / 5.0 (0 votes)
Views:
1047
Many of our Service Provider Edition customers already have password protected environments for their customers, such as Hosting Control Panels and other back-end systems.
The idea is that customers that are logged into a system like that, do not need to separately log in to Logaholic to view their web statistics: this is what we mean with "on-the-fly" logins, by lack of a better description.
Logaholic SPE offers a number of authentication methods to accommodate for this (please read this), but those only work if both the 'Control Panel' and Logaholic are installed/accessed via the same (sub)domain. If that is not the case, you can now enable on-the-fly logins by using the following method:
1. The username and password still need to be created in the Logaholic system, and match that what you are using in your own system.
2. In Logaholic, you should set the Authentication Method to : Use Logaholic Login Dialog.
3. Create a link to Logaholic from your 'Control Panel', but add a variable in the URL called lgpkey
The 'lgpkey' variable should be built up like this:
$lgpkey = md5($username) . ":" . md5($password); (This example is in PHP code)
So, the link should end up looking like this (where 'hash' is obviously an md5 hash string):