瀏覽代碼

change scope to basic profile

Wan Kim Mok 10 年之前
父節點
當前提交
72479bae38
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      hackathon_starter/hackathon/scripts/linkedin.py

+ 1 - 1
hackathon_starter/hackathon/scripts/linkedin.py

@@ -21,7 +21,7 @@ class LinkedinOauthClient(object):
                         'client_secret' : self.client_secret,
                         'redirect_uri' : 'http://127.0.0.1:8000/hackathon/',
                         'state' : 'DCEeFWf45A53sdfKef424',
-                        'scope': 'r_fullprofile'}
+                        'scope': 'r_basicprofile'}
 
         params = urllib.urlencode(auth_setting)
         authURL = AUTHORIZATION_URL + '?' + params