you must forgot to set related informations in admin panel(social authentication)
nodebb-plugin-session-sharing not working
ᴅᴀʀᴛʜ ᴠᴀᴅᴇʀ last edited by ᴅᴀʀᴛʜ ᴠᴀᴅᴇʀ
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?
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 ////
Does anyone have an idea or even know what I'm doing wrong?
ᴅᴀʀᴛʜ ᴠᴀᴅᴇʀ last edited by
No idea guys?