miled / wordpress-social-login

WordPress Social Login
http://miled.github.io/wordpress-social-login/
MIT License
401 stars 233 forks source link

twitter is not accepting GET parameters on callback url no more - so cannot use it to login with plugin #336

Closed lucianahanan closed 4 years ago

lucianahanan commented 4 years ago

The app for twitter social login is generating callback url with a GET parameter like that: ?hauth.done=Twitter

The problem is that twitter is not accepting get parameters on callback urls anymore, therefore I cannot use wp social plugin to login using twitter…

So, do you guys have a fix for that? WP Social Plugin update, maybe?

I tried removing the parameter and leaving the rest, with or without / in the end, but it didn't solve the problem either.

s-sols commented 4 years ago

I faced with the same situation. I did the same trick and it didn't help until i disabled my page cache with URL parameters.

But before that i fixed the bug: in \hybridauth\Hybrid\thirdparty\OAuth\OAuth1Client.php at function getHeader($ch, $header) add $this->http_header = array();