@julian
Hello,
I had installed this plugin before and it works.
Now I have installed it again after a few months, but somehow it no longer works. Here are my settings and my code in the application. Am I doing something wrong? This is actually how it should work.
Or is the plugin no longer compatible with the new Nodebb version?
NodeBB v1.17.1

My PHP Code
//// NODEBB LOGIN COOKIE START ////
$payload = [
'id' => $obj->userID,
'username' => $obj->userName,
'email' => $obj->userEmail,
'firstName' => $obj->userFirstName,
'lastName' => $obj->userLastName,
'exp' => time() + 3600,
];
$secret = '123456789';
$token = Token::customPayload($payload, $secret);
#print_r(json_encode($payload));
// set cookie
setcookie("lol", $token, time() + 3600, "/", "myteamspeak.online", false, true);
//// NODEBB LOGIN COOKIE ENDE ////
https://github.com/RobDWaller/ReallySimpleJWT
Does anyone have an idea or even know what I'm doing wrong?