I just installed Openfire / Red 5 and SparkWeb in order to have an integrated private communication framework within our website.
I came across ways of using custom database tables to authenticate users which helps with the integration. Now the other issue however is to allow users to log in one time into the main site, and SparkWeb and OpenFire use that to automatically identify the user rather than displaying login screen in sparkweb again.
The sparkweb html did have username ,password and ‘autologin’ in the js, but I thought it was rather insecure way of doing it.
What can be done to achieve this? I am sure there must be a way.
The behavior I am expecting is something like what one sees in email sites like Gmail and Yahoo, where u log-in to the main site and the chat component uses that identify and logs in automatically.