• dgttm

    (@dgttm)


    Hi,

    I’m using super-socializer, all on newest versions (WP, woocommerce, plugin).

    all other logins (facebook/steam/google) are working fine, I set up the Twitter API as described and it is somehow working “a bit”, but the following happens:

    I hit the Twitter Icon and the login window pops up.

    I login via twitter credentials, all good so far, but instead of closing the popup window and getting a reload in my main browser window, the redirect happens _within_ the popup window back to my page.
    Furthermore, I am NOT logged in. If I hit the Accounts Page and do the whole procedure again IN the popup window, then the twitter login is working.

    So I guess there is no error in twitter api config, as the login won’t work anyways. Is that related with the plugin or is it an twitter issue?

    regards

    Nicolas

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Heateor Support

    (@heateor)

    Hi Nicolas,

    Not sure why it’s happening. You can try enabling WordPress debugging and try Twitter login to see if there is any PHP warning/error is being displayed on screen. Post here if you see any.

    Thread Starter dgttm

    (@dgttm)

    Hi dear Heator Support,

    So I tried a couple of times more, it seems that it is kind of “random”, sometimes the login is working and the more oftem times I try, it is not.

    I had a look at the nginx logs for 1) unsuccessful login trys and 2) successful logins, please see log out put below.

    I noticed in the logs, that there is a difference with the requests to api.twitter.com

    1) when it is NOT working
    with the GET /?oauth_token= request to api.twitter.com, I get a 302 – while I get a 200 when it is working (see 2. below). And the redirect to /my-account is not happening.

    ###########
    192.168.70.4 – – [20/Apr/2020:06:48:14 +0000] “GET /?SuperSocializerAuth=Twitter&super_socializer_redirect_to=https%3A%2F%2Fwww.nussfee.ch%2Fmy-account%2F HTTP/1.1” 302 5 “https://www.nussfee.ch/my-account/” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36”
    192.168.70.4 – – [20/Apr/2020:06:48:20 +0000] “GET /?oauth_token=7MCOrwAAAAABDtHJAAABcZZYMtI&oauth_verifier=dVYrDwUqtmoNCDdGTaFxYpelqFM9iEgq HTTP/1.1” 302 5 “https://api.twitter.com/oauth/authorize” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36”
    ###########
    192.168.70.4 – – [20/Apr/2020:06:52:41 +0000] “GET /?SuperSocializerAuth=Twitter&super_socializer_redirect_to=https%3A%2F%2Fwww.nussfee.ch%2Fmy-account%2F HTTP/1.1” 302 5 “https://www.nussfee.ch/my-account/” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36”
    192.168.70.4 – – [20/Apr/2020:06:52:45 +0000] “GET /?oauth_token=LSJGRgAAAAABDtHJAAABcZZcQ3A&oauth_verifier=jpFunXG9WxqknTnNSg5wMkbDDVufmFAf HTTP/1.1” 302 5 “https://api.twitter.com/oauth/authorize” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36”
    ###########
    192.168.70.4 – – [20/Apr/2020:06:57:47 +0000] “GET /?SuperSocializerAuth=Twitter&super_socializer_redirect_to=https%3A%2F%2Fwww.nussfee.ch%2Fmy-account%2F HTTP/1.1” 302 5 “https://www.nussfee.ch/my-account/” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36”
    192.168.70.4 – – [20/Apr/2020:06:57:51 +0000] “GET /?oauth_token=LyEuvQAAAAABDtHJAAABcZZg7vw&oauth_verifier=FWacAGZnAy8YCPEzNhNeB9CNPGkmeZj8 HTTP/1.1” 302 5 “https://api.twitter.com/oauth/authorize” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36”

    2) This is when it was working

    ###########
    192.168.70.4 – – [20/Apr/2020:06:40:53 +0000] “GET /?SuperSocializerAuth=Twitter&super_socializer_redirect_to=https%3A%2F%2Fwww.nussfee.ch%2Fmy-account%2F HTTP/1.1” 302 5 “https://www.nussfee.ch/my-account/” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36”
    192.168.70.4 – – [20/Apr/2020:06:40:57 +0000] “GET /?oauth_token=vWwN3QAAAAABDtHJAAABcZZRdZY&oauth_verifier=sNg3EQG3NZRekiVgnBIf6lFdsxezmFDL HTTP/1.1” 200 144 “https://api.twitter.com/oauth/authorize” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36”
    192.168.70.4 – – [20/Apr/2020:06:40:58 +0000] “GET /my-account/ HTTP/1.1” 200 160834 “https://www.nussfee.ch/?oauth_token=vWwN3QAAAAABDtHJAAABcZZRdZY&oauth_verifier=sNg3EQG3NZRekiVgnBIf6lFdsxezmFDL” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36”
    ###########
    192.168.70.4 – – [20/Apr/2020:06:53:38 +0000] “GET /?SuperSocializerAuth=Twitter&super_socializer_redirect_to=https%3A%2F%2Fwww.nussfee.ch%2Fmy-account%2F HTTP/1.1” 302 5 “https://www.nussfee.ch/my-account/” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36”
    192.168.70.4 – – [20/Apr/2020:06:53:42 +0000] “GET /?oauth_token=bCJjqgAAAAABDtHJAAABcZZdIho&oauth_verifier=tl5lkRq4qEhgObv8jgfLVk3EmZyFOEZA HTTP/1.1” 200 144 “https://api.twitter.com/oauth/authorize” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36”
    192.168.70.4 – – [20/Apr/2020:06:53:44 +0000] “GET /my-account/ HTTP/1.1” 200 160832 “https://www.nussfee.ch/?oauth_token=bCJjqgAAAAABDtHJAAABcZZdIho&oauth_verifier=tl5lkRq4qEhgObv8jgfLVk3EmZyFOEZA” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36”
    ###########
    192.168.70.4 – – [20/Apr/2020:06:59:36 +0000] “GET /?SuperSocializerAuth=Twitter&super_socializer_redirect_to=https%3A%2F%2Fwww.nussfee.ch%2Fmy-account%2F HTTP/1.1” 302 5 “https://www.nussfee.ch/my-account/” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36”
    192.168.70.4 – – [20/Apr/2020:06:59:48 +0000] “GET /?oauth_token=52KvuAAAAAABDtHJAAABcZZimTo&oauth_verifier=OzdlCFxv9iRUmojO8hFwMidZBw6nxWrs HTTP/1.1” 200 144 “https://api.twitter.com/oauth/authorize” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36”
    192.168.70.4 – – [20/Apr/2020:06:59:50 +0000] “GET /my-account/ HTTP/1.1” 200 160839 “https://www.nussfee.ch/?oauth_token=52KvuAAAAAABDtHJAAABcZZimTo&oauth_verifier=OzdlCFxv9iRUmojO8hFwMidZBw6nxWrs” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36”

    Any ideas? where may I have a look with the WP_DEBUG setting?

    thanks a lot!

    Nicolas

    Thread Starter dgttm

    (@dgttm)

    Hey,

    I guess I found it. It’s probably w3 total cache..

    after disabling it, its working now..

    I guess I need to add “/?oauth_token=*” to the caching exceptions..

    thanks a lot, I guess this is solved

    cheers

    Nicolas

    Thread Starter dgttm

    (@dgttm)

    Thread Starter dgttm

    (@dgttm)

    Thread Starter dgttm

    (@dgttm)

    So I still cannot find the setting in w3 total cache, which prevents the issue with twitter login. Just to mention, the other logins are working (google/facebook)

    do you have any advise, which setting may be the root cause?

    Plugin Author Heateor Support

    (@heateor)

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Twitter Login not working properly (popup not closing)’ is closed to new replies.