I
I
Ivan2015-07-29 13:48:23
Django
Ivan, 2015-07-29 13:48:23

Python-social-auth KeyError. How to fix this error when using classmates?

Good day. When logging in via social ok.ru network, my server returns the following error:

KeyError at /complete/odnoklassniki-oauth2/
'name'

I understand that social-auth cannot find the 'name' key in the response from ok.ru, but ok.ru does not give this parameter.
Help, please, to solve this problem.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan, 2015-07-29
@ATNC

Confused SOCIAL_AUTH_ODNOKLASSNIKI_APP_PUBLIC_NAME with SOCIAL_AUTH_ODNOKLASSNIKI_OAUTH2_PUBLIC_NAME

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question