0

I am using python social auth in django. While using facebook an error occured.

http://solarbiz.in/complete/facebook/?redirect_state=FV9GiLjcd8BQHN3fhuneiowJlnS6PQO8&error_code=100&error_message=Invalid+Scope%3A+profile&state=FV9GiLjcd8BQHN3fhuneiowJlnS6PQO8

Any suggestions please, I am a beginner in django. I tried for several hours on this bug.

matthias_h
  • 11,356
  • 9
  • 22
  • 40
shebeer
  • 683
  • 1
  • 5
  • 5

2 Answers2

0

From the link provided, error message is:

error_message   u'Invalid Scope: profile'

make sure you are using latest SDK and change the scope from profile to public_profile

avi
  • 9,292
  • 11
  • 47
  • 84
  • i am using python social auth 0.2.1 which is the latest one and i also put SOCIAL_AUTH_FACEBOOK_SCOPE=['email','public_profile'] but that doesnot help – shebeer Oct 11 '14 at 12:13
0

Look at your settings.py, it says:

SOCIAL_AUTH_FACEBOOK_SCOPE = ['email', 'profile']

I guess you should restart your web-server if you already had updated the file.

byashimov
  • 454
  • 2
  • 6