ueberauth / ueberauth_vk

vk.com OAuth2 Strategy for Überauth.
https://hex.pm/packages/ueberauth_vk
MIT License
19 stars 12 forks source link

User's email is not fetched #1

Closed JustMikey closed 8 years ago

JustMikey commented 8 years ago

The user's email is passed along side with the token, not in the response from users.get API request thus it doesn't get set in the info callback.

sobolevn commented 8 years ago

Have a look at this line: https://github.com/sobolevn/ueberauth_vk/commit/542eb8b452a5339b6026f2b966a5d11d0080424f#diff-d24abdb76a99200e713f22e8cf64ae4bL6

I have changed the default scope.

JustMikey commented 8 years ago

Everything works like a charm now. Thank you :) You should probably bumb the version.