[Python-modules-commits] [python-social-auth] 59/322: User ID is required to use any further requests

Wolfgang Borgert debacle at moszumanska.debian.org
Sat Dec 24 15:12:49 UTC 2016


This is an automated email from the git hooks/post-receive script.

debacle pushed a commit to tag v0.2.10
in repository python-social-auth.

commit a2e22cb4eade5b0d551dd80eafe8f889c0dc56f0
Author: Anna Warzecha <anna.warzecha at gmail.com>
Date:   Wed Nov 26 10:16:11 2014 +0100

    User ID is required to use any further requests
---
 social/backends/khanacademy.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/social/backends/khanacademy.py b/social/backends/khanacademy.py
index 4865586..891292b 100644
--- a/social/backends/khanacademy.py
+++ b/social/backends/khanacademy.py
@@ -105,6 +105,8 @@ class KhanAcademyOAuth1(BrowserBasedOAuth1):
     REDIRECT_URI_PARAMETER_NAME = 'oauth_callback'
     USER_DATA_URL = 'https://www.khanacademy.org/api/v1/user'
 
+    EXTRA_DATA = [('user_id', 'user_id')]
+
     def get_user_details(self, response):
         """Return user details from Khan Academy account"""
         return {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-social-auth.git



More information about the Python-modules-commits mailing list