Welcome to Geeklog Thursday, May 23 2013 @ 01:09 AM EDT
|
||||||||
![]() |
Forum Index > Development & Coding > Geeklog |
New Topic
|
Post Reply
|
Twitter OAuth Login Problems |
|||
| Laugh |
|
||||||
![]() ![]() ![]() ![]() ![]() Admin ![]() Status: offline ![]() Registered: 09/27/05 Posts: 876 |
If you have enabled Twitter OAuth logins on your Geeklog site (1.8.0+) you may have found recently that it doesn't work anymore.
To fix you need to update the following file: /system/classes/oauth/twitter.auth.class.php Please replace the following text near the beginning of the file: PHP Formatted Code public $url_requestToken = 'https://twitter.com/oauth/request_token'; public $url_authorize = 'https://twitter.com/oauth/authenticate'; public $url_accessToken = 'https://twitter.com/oauth/access_token'; public $url_userinfo = 'http://twitter.com/account/verify_credentials.xml'; with PHP Formatted Code public $url_requestToken = 'https://api.twitter.com/oauth/request_token'; public $url_authorize = 'https://api.twitter.com/oauth/authenticate'; public $url_accessToken = 'https://api.twitter.com/oauth/access_token'; public $url_userinfo = 'http://api.twitter.com/1/account/verify_credentials.xml'; |
||||||
|
|||||||
| ::Ben |
|
||||||
![]() ![]() ![]() ![]() ![]() Full Member ![]() Status: offline ![]() Registered: 01/14/05 Posts: 1359 |
I changed the urls but I still get the "Authentication error" message...
::Ben We speak french on http://geeklog.fr |
||||||
|
|||||||
| Laugh |
|
||||||
![]() ![]() ![]() ![]() ![]() Admin ![]() Status: offline ![]() Registered: 09/27/05 Posts: 876 |
Try logging out of your Twitter account and try again.
|
||||||
|
|||||||
| ::Ben |
|
||||||
![]() ![]() ![]() ![]() ![]() Full Member ![]() Status: offline ![]() Registered: 01/14/05 Posts: 1359 |
I tried on geeklog.fr but with no success.
::Ben We speak french on http://geeklog.fr |
||||||
|
|||||||
| Laugh |
|
||||||
![]() ![]() ![]() ![]() ![]() Admin ![]() Status: offline ![]() Registered: 09/27/05 Posts: 876 |
Is it still updated? I have the same problem on your site. Anything in the logs?
|
||||||
|
|||||||
| ::Ben |
|
||||||
![]() ![]() ![]() ![]() ![]() Full Member ![]() Status: offline ![]() Registered: 01/14/05 Posts: 1359 |
The bug is still alive.
From the server logs PHP Formatted Code 124.123.89.154 - - [01/Nov/2012:15:08:20 +0100] "GET /users.php?oauth_login=twitter&oauth_token=tEGnmT7AkcHdXW29UFLMYS2mByq0llKMxtFH3F61o4&oauth_verifier=oiNJUPSjmXcURQriSkfZCDOH5NFCYGDK8Hq3SeG2MJY HTTP/1.1" 200 118 "-" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)"Nothing in the geeklog logs. Ben We speak french on http://geeklog.fr |
||||||
|
|||||||
| ::Ben |
|
||||||
![]() ![]() ![]() ![]() ![]() Full Member ![]() Status: offline ![]() Registered: 01/14/05 Posts: 1359 |
Yesterday, after the upgrade to Geeklog 1.8.2 I needed to revoke authorisation from my twitter account to be able to log to http://geeklog.fr
This morning I need to revoke once more the authorisation to login with my twitter account... Ben We speak french on http://geeklog.fr |
||||||
|
|||||||
| Laugh |
|
||||||
![]() ![]() ![]() ![]() ![]() Admin ![]() Status: offline ![]() Registered: 09/27/05 Posts: 876 |
The twitter login still acts a little weird sometimes. For some reason I have had clear my browser cache before I could get it working. This should be looked in further at some point.
|
||||||
|
|||||||
| Laugh |
|
||||||
![]() ![]() ![]() ![]() ![]() Admin ![]() Status: offline ![]() Registered: 09/27/05 Posts: 876 |
I have updated Geeklog.net with the new Twitter fix (provided by hiroron) so login problems shouldn't be an issue anymore. The fix uses the Twitter OAUTH 1.1 API (instead of 1.0).
The fix will be included in the next release of Geeklog. Tom |
||||||
|
|||||||
| Content generated in: 1.24 seconds |
|
|
|