I'm working on website external to XenForo, but I want to get the current user log on my xenforo forum.
Before use VueJS I use XF.php but on JS cannot add PHP :( How to ?
My code on my controller
include_once('/var/forum2/src/XF.php');
\XF::start('/var/forum2');
$app =...
I use the REST API.
But i want to get user auth on the xenforo app. On another web page. The cookie are share between the subdomain
Currently I have this
$client->request('GET', 'https://forum.elenox.net/api/me', [
'headers' => [
'XF-Api-Key' => '....'...
I'm currently working on laravel app, but i want to use multiple features of Xenforo.
But I have found this https://github.com/UnderRatedBrilliance/XenforoBridge but it does not work anymore on XenForo 2 :(
There is another similar? Who works with the new version?