Topics

User Functions

Events

There are no upcoming events

What's New

Stories last 2 weeks

No new stories

Comments last 2 weeks

No new comments

Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

NEW FILES last 14 days

No new files

Welcome to Geeklog Thursday, April 24 2014 @ 06:42 AM EDT


 Forum Index > Development & Coding > Geeklog New Topic Post Reply
 Twitter OAuth Login Problems
   
Laugh
 10/29/12 11:55AM (Read 3001 times)  
AAAAA
Admin

Status: offline


Registered: 09/27/05
Posts: 998
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';
 



 
Profile Email Website
 Quote
::Ben
 10/29/12 01:06PM  
+++++
Full Member

Status: offline


Registered: 01/14/05
Posts: 1442
I changed the urls but I still get the "Authentication error" message...

::Ben

We speak french on http://geeklog.fr
 
Profile Email Website
 Quote
Laugh
 10/29/12 02:34PM  
AAAAA
Admin

Status: offline


Registered: 09/27/05
Posts: 998
Try logging out of your Twitter account and try again.

 
Profile Email Website
 Quote
::Ben
 10/29/12 04:16PM  
+++++
Full Member

Status: offline


Registered: 01/14/05
Posts: 1442
I tried on geeklog.fr but with no success.

::Ben

We speak french on http://geeklog.fr
 
Profile Email Website
 Quote
Laugh
 11/01/12 10:09AM  
AAAAA
Admin

Status: offline


Registered: 09/27/05
Posts: 998
Is it still updated? I have the same problem on your site. Anything in the logs?

 
Profile Email Website
 Quote
::Ben
 11/01/12 11:54AM  
+++++
Full Member

Status: offline


Registered: 01/14/05
Posts: 1442
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
 
Profile Email Website
 Quote
::Ben
 02/06/13 04:12AM  
+++++
Full Member

Status: offline


Registered: 01/14/05
Posts: 1442
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
 
Profile Email Website
 Quote
Laugh
 02/06/13 09:12AM  
AAAAA
Admin

Status: offline


Registered: 09/27/05
Posts: 998
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.

 
Profile Email Website
 Quote
Laugh
 02/16/13 04:16PM  
AAAAA
Admin

Status: offline


Registered: 09/27/05
Posts: 998
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

 
Profile Email Website
 Quote
Content generated in: 0.82 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Able to post 
Filtered HTML Allowed 
Censored Content