Skip to content

EXTRA_DATA for VK #263

@Nabu-thinker-ru

Description

@Nabu-thinker-ru

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions