After migration from django-social-auth my site can't get extra data from VK.
I had this string in old version settings.py:
VK_EXTRA_DATA = ['photo_big','city', 'country', 'sex', 'contacts', 'bdate', 'education', 'counters']
and all worked fine. But now its broken. I compared backend's code and found this string in djang-social-auth.backends.contrib.vk.VKOAuth2.user_data():
fields = ','.join(VK_DEFAULT_DATA + setting('VK_EXTRA_DATA', []))
How to return this functionality into python-social-auth?
After migration from django-social-auth my site can't get extra data from VK.
I had this string in old version settings.py:
VK_EXTRA_DATA = ['photo_big','city', 'country', 'sex', 'contacts', 'bdate', 'education', 'counters']and all worked fine. But now its broken. I compared backend's code and found this string in djang-social-auth.backends.contrib.vk.VKOAuth2.user_data():
fields = ','.join(VK_DEFAULT_DATA + setting('VK_EXTRA_DATA', []))How to return this functionality into python-social-auth?