]> git.openstreetmap.org Git - osqa.git/blobdiff - forum_modules/oauthauth/authentication.py
changing the twitter oauth2 token request urls
[osqa.git] / forum_modules / oauthauth / authentication.py
index 462e234e7ff60300865c11caeab945724d3c7218..54a6b4f5adfbb7006fd644b1b5310ae72f6b4710 100644 (file)
@@ -15,9 +15,9 @@ class TwitterAuthConsumer(OAuthAbstractAuthConsumer):
                 str(settings.TWITTER_CONSUMER_KEY),
                 str(settings.TWITTER_CONSUMER_SECRET),
                 "twitter.com",
-                "https://twitter.com/oauth/request_token",
-                "https://twitter.com/oauth/access_token",
-                "https://twitter.com/oauth/authorize",
+                "https://api.twitter.com/oauth/request_token",
+                "https://api.twitter.com/oauth/access_token",
+                "https://api.twitter.com/oauth/authorize",
         )
 
     def get_user_data(self, key):