WebMail Lite 8 Documentation

Integration via Single Sign-On

While the product supports logging in programmatically, existing method isn't 100% perfect. It requires having main system and webmail application installed within the same domain, and it might present security issues if you transfer login credentials via POST or GET.

So, a different method known as Single Sign-On was implemented to allow for eliminating these issues. It's invoked in a very simple and straightforward way:

include_once '/var/www/webmail/system/autoload.php';
header('Location: http://webmail.domain.com/?sso&hash='.\Aurora\System\Api::GenerateSsoToken($sEmail, $sPassword, $sLogin));

This approach allows for integrating Afterlogic WebMail with ownCloud as well as other systems.