I am super new to flarum. Just got a hand of it 2 days ago. I got an old project with CodeIgniter with flarum as forum. Maybe for simplicity the previous developer use flarum user to manage CI users too.
I need to authenticate user into flarum when they log in to CI. I see here look like what I want :
My question what is exactly to put in the 'token' ?
from this :
$api_url = "https://my.forum.url/api/token";
What else do I need to call API through CURL like this. The flarum folder inside the maiin application.
Thanks for helping..