1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Being logged out randomly.

Discussion in 'Resolved Bug Reports' started by Ben Davis, Aug 11, 2010.

  1. Ben Davis

    Ben Davis Active Member

    Quite a few times now I've been randomly logged out on the forums, normally after a refresh by revisiting the forum. I'm using Facebook to log in. Just thought I'd give a bug report about it. I'm using Firefox, latest version, if that assists in anyway.
     
  2. Mike

    Mike XenForo Developer Staff Member

    This is sort of a limitation of Facebook or at least the approach they want you to take. There is an option to request an offline_access permission, but that can come across very scary and really it's not what we're trying to do.

    FB only gives us tokens that last for a limited amount of time. Eventually they'll time out, and FB will tell us that you're no longer logged in. We'll redirect you to the login page and you'll silently end up where you were. Unfortunately, FB doesn't seem to refresh that token while you're actually using the system. (At least it didn't seem to when I was writing the code; we're not using their full SDKs.)
     
  3. Ben Davis

    Ben Davis Active Member

    Thanks for the info Mike. Anything the user can do to correct this problem? Or are we stuck with the problem for the time being? :)
     
  4. Mike

    Mike XenForo Developer Staff Member

    Well, I assume the page is refreshing and logging you back in automatically? If it's not, that's a potential issue.
     
  5. Enigma

    Enigma Well-Known Member

    If I can interject a related idea here, it might be nice to have a prominent and easy way to encourage users who signed up via Facebook to convert their account to a "full" XenForo account (basically just setting a password for it).
     
  6. Ben Davis

    Ben Davis Active Member

    Well when I refresh the page I'm signed out. I then click on the Log In button which logs me in without much drama. Not too sure if that's what you meant.
     

Share This Page