Hey guys, I've been having an issue with the login system on Amember.com. When I login the amember system will keep me logged in, but XenForo will log me out within the XenForo forum. When this happens I can go to the home page of Amember.com and the "My account/Sign Out" options are available at the top. Then, I click on forum tab and it turns into the "Already a member? Sign in" option. I click on that OR the Log In button on the forum itself and it just redirects back to the forum home page, it doesn't actually log me into the forum or even present me with a login page. I can even click back to the Amember home page at that point and it changes BACK to "My Account / Sign Out", then I go back to the forum and the same game all over again....still not logged in. The only way to actually login to the forum at this point is to go to the amember home page, log out of the amember system, then login again. The forum THEN actually sees the login from aMember and lets me access it. My main concern is I am going to be setting up a website soon with XenForo and aMember and I'd like for issues like this to be resolved....
Hello, I fixed this issue in plugin and updated plugin on amember.com. Please let me know if you still have any issue with it. Thanks.
Could you please logout from your account then login again and check it. Is it right that you logged out automaticly from xenforo in case of long inactivity period?
Yes, Xenforo is logging me out due to inactivity. I'll keep an eye on it and let you know if it changes...
Hello Ceasar, I think I've found the issue. XenForo has a user timeout of just 60 minutes, I think aMember has a timeout much longer than that. So the XenForo cookie is expiring while the aMember one is not. I've tried this fix on my forum: http://xenforo.com/community/thread...or-users-to-stay-logged-in.20019/#post-256437 I'll let you know if it fixes the issue so you guys can apply it here.
There is actually a problem on this site too. I'll be logged into xenforo but not into amember to get me into the help desk. Then I'll notice i might be logged into amember but not into the helpdesk part. The only way to get in is to logout of all the parts of the site (whether it's xenforo or the header with amember) and that allows me to login here and submit a ticket too.
Truth is that this software is amazing that it gets you this far. Cookie management with different software is probably the most excruciatingly difficult application ever. At least integrated login works which is most of the battle.
Any update on this? I'm trying to decide if I should keep the default XenForo login or redirect the login to aMember.
This is exactly what is currently happening on my xenforo site as well right now. @caesar is there anything that anyone can do to help troubleshoot this? I submitted a trouble ticket prior to seeing this thread.
For longer sessions, let users login to xenforo directly. Registration still forwarded to amember. Amember plugin for xenforo changed to allow sign-in on xenforo side. Code: \Amember\Redirect.php Remove/comment: Code: if ($routeMatch->getControllerName() == 'XenForo_ControllerPublic_Logout') { self::redirect('/logout', $isAjax); } Find: Code: if ($routeMatch->getControllerName() == 'XenForo_ControllerPublic_Login' Replace: Code: if ($routeMatch->getControllerName() == 'XenForo_ControllerPublic_Register'