ueberauth / ueberauth_facebook

Facebook OAuth2 Strategy for Überauth.
MIT License
77 stars 64 forks source link

From 10 July 2017 the new facebook api requires to pass along profile_fields. #37

Closed smeevil closed 7 years ago

smeevil commented 7 years ago

If the profile_fields is empty you will not get the email back, even if that is defined in the scope. An other change is that you also need to pass along public_profile along with email in the scope for this to work.

One of my older applications is running api v2.3 which is working with the current version of ueberauth_facebook but this support will be pulled on 10 July 2017.

Also any newly created facebook app is not returning the email without these changes.

doomspork commented 7 years ago

Thank you @smeevil, this is great! 👍