omab / python-social-auth

Social auth made simple
http://psa.matiasaguirre.net
BSD 3-Clause "New" or "Revised" License
2.83k stars 1.09k forks source link

VK auth using access token failed. Unable to retrieve email address. #943

Closed x603 closed 8 years ago

x603 commented 8 years ago

I just make this simple call, passing access token, that im retrieving using Vk OpenApi js library. Email in scope permissions is defined, as an integer.

if backend == 'vk-oauth2': user = request.backend.do_auth(access_token)

But on pipeline associate_by_email the process of creating a new user fails, because there is no email address. When using this pure library with redirection, everything works fine. Could somebody help me to solve this?

Same process with registration by access token for Facebook works fine.

LennyLip commented 8 years ago

Work fine for me. Please, paste full stack trace error.

LennyLip commented 8 years ago

@deniskrishna please, close issue if it works