I have been trying for days to setup my Omniauth for facebook I don\'t know what am I doing wrong.
I am not able to get the email of the user. The returned hash only
I only got to retrieve the email by adding this in devise.rb:
config.omniauth :facebook, "KEY", "SECRET", scope: 'email', info_fields: 'email, name'