I would like know how I can login my user to an external website after drupal-login please ?
I use :
$xenAPI = new XenAPI('http://xen.dev/api.php', 'MY_API_KEY', 'MY_API_KEYSALT'); $xenAPI->login('Kyna', 'secret_password', 'http://theming.dev');
The login work on all page when I use HOOK_user_load(), but if I use HOOK_user_login(), don't work. I don't have an error, but ->login() create a redirection with an header and I think drupal-login overwrite my header on external script or create a redirection before my script.