Hello,
i want to integrate XenForo in an Intranet-Site with its own user-managemant. Now i´m able to create the user in Xenforo using it´s key from the intranet as external userid.
But i have troubles to login the user in Xenforo. Till now i using this code an it doesn´t work. I think anything is missing... but what?
$session = XenForo_Application::get('session');
$session->changeUserId($UserID);
XenForo_Visitor::setup($UserID);
header("Location: forum/index.php");
The user is allready authenticated in the portal and Xenforo doesn´t allow new user registrations. So no password is provided for the login in xenforo. It should only work with his user-id!
Thank You
Eric
i want to integrate XenForo in an Intranet-Site with its own user-managemant. Now i´m able to create the user in Xenforo using it´s key from the intranet as external userid.
But i have troubles to login the user in Xenforo. Till now i using this code an it doesn´t work. I think anything is missing... but what?
$session = XenForo_Application::get('session');
$session->changeUserId($UserID);
XenForo_Visitor::setup($UserID);
header("Location: forum/index.php");
The user is allready authenticated in the portal and Xenforo doesn´t allow new user registrations. So no password is provided for the login in xenforo. It should only work with his user-id!
Thank You
Eric