View facebook will begin to issue app-scoped user IDs
elsif user_auth["provider"].eql?("facebook") | |
authentication = Authentication.find_by_provider_and_uid(user_auth['provider'], user_auth['uid']) | |
if authentication | |
@user = authentication.user | |
@user.notification_token = user_auth["user"]["notification_token"] | |
sign_in(:user, @user, store: false) |