Back after a while...
How do you log users in XenForo? I plan to have this kind of setup:
The domain auth.mysite.com manages authentication and logs users into all services of mysite.com. This has been implemented pretty well, just need to implement it into XenForo also. How can it be modified to log users into XenForo also? Do I just create some sort of cookie or?
I'm not sure if it's possible to initialise XenForo's bootloader and all in here, by the way. So if possible, another method would be preferred. If that's the absolute only way, then I can try and figure something out.
Edit: For clarification, I do not want my application to replace XenForo's users system as such. I want XenForo to manage the users as it already does, just the login/authentication part to be centralised to the app. I can obviously edit the templates for this to redirect to the central auth site. I just need to know how to log a user in. User fields and all of that XenForo stuff managed in XF already will continue to be managed in XF.