Explorar o código

change scope to basic profile

Wan Kim Mok %!s(int64=10) %!d(string=hai) anos
pai
achega
72479bae38
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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,
                         'client_secret' : self.client_secret,
                         'redirect_uri' : 'http://127.0.0.1:8000/hackathon/',
                         'redirect_uri' : 'http://127.0.0.1:8000/hackathon/',
                         'state' : 'DCEeFWf45A53sdfKef424',
                         'state' : 'DCEeFWf45A53sdfKef424',
-                        'scope': 'r_fullprofile'}
+                        'scope': 'r_basicprofile'}
 
 
         params = urllib.urlencode(auth_setting)
         params = urllib.urlencode(auth_setting)
         authURL = AUTHORIZATION_URL + '?' + params
         authURL = AUTHORIZATION_URL + '?' + params