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

XF 1.3 External Log-ins

Discussion in 'XenForo Questions and Support' started by OverHere, Jun 5, 2014.

  1. OverHere

    OverHere Active Member

    Has any one faced issues with Facebook & Twitter log-ins on Safari & Chrome but not on IE?

    Basically, my Twitter & FB log-ins both work smoothly on my IE 11 but on Safari & Chrome there are hiccups - you have to click Login with FB or Login with Twitter again to get both to log you in.... am I the only one facing this?

    What could be the solution for Chrome & Safari so both Twitter & FB work smoothly here?

    Last edited: Jun 5, 2014
  2. Mike

    Mike XenForo Developer Staff Member

    I didn't have any issues on your site in Chrome, aside from the Twitter thing I mentioned in the ticket which I believe to be an issue on their end (since it happens on twitter.com).
  3. OverHere

    OverHere Active Member

    So the fact that on Chrome when I log in via FB when I am taken to the homepage without actually having been signed in, and only getting signed in if I click Log in with Facebook again, is an issue on my computer since you don't see this on your Chrome?
  4. Chris D

    Chris D XenForo Developer Staff Member

    I don't know how much Mike has seen of your set up, but I know on all your previous sites, you had issues with www/non-www redirection.

    Can you verify in each browser exactly what the URL is in the browser before you login and after the login fails?
  5. OverHere

    OverHere Active Member

    Thanks.... in IE 11 if I simply put in 'discuss (dot) pics' the website url it shows once the site is loaded is http://www.discuss (dot) pics/ - it logs in nicely with Twitter.

    In Chrome when I put in 'discuss (dot) pics' it stays the same and when I log in with Twitter this URL shows on the site error page:


    In Safari when I put in 'discuss (dot) pics' it shows http://discuss (dot) pics/ and it does not log in with Twitter, this URL shows on the site error page :


    the board URL in ACP is: http://www.discuss(dot)pics

  6. Chris D

    Chris D XenForo Developer Staff Member

    Yeah now I know the URL, I have confirmed my exact suspicion is true.


    These two URLs may very well go to the same content, but your browser will treat them as two different sites. When I went, just now, to http://site.com, and I signed up using Twitter, I got redirected to http://www.site.com.

    This can go wrong with normal user accounts too. If you clear your browser cache and go to http://site.com and log in with a normal username and password, the site may appear to run fine. However, when you go to http://www.site.com you will be logged out.

    I'm sure you remember, this is now at least the third time you have experienced similar issues and I have given you the same advice!

    The best solution is to redirect all users to http://www.site.com. So whether they access http://site.com or http://www.site.com ALL your users will only ever be redirected to http://www.site.com.

    If you want to solve issues like this you MUST follow my advice and continue to apply the same advice on ANY site that you set up.

    It can happen the other way around too, if that is your preference... e.g. right here on this site:


    That will redirect to:

    OverHere likes this.
  7. Mike

    Mike XenForo Developer Staff Member

    I've confirmed the issue as well and a specific Twitter-related error message is definitely from that (likely because it thinks the request is being forged).
    Chris D likes this.
  8. RoldanLT

    RoldanLT Well-Known Member

    Thanks, Fixed now.

Share This Page