0

My application is authenticating users with the omniauth-facebook gem version 1.6.0. It seems that sometimes within the facebook action in the OmniauthCallbacksController, the request.env["omniauth.auth"] hash will have nil values for provider and uid.

I would appreciate any insight into why this would happen. Here's the relevant code from my omniauth config initializer

config.omniauth :facebook, ENV['FACEBOOK_APP_ID'], ENV['FACEBOOK_APP_SECRET'],
     {:scope => 'email, offline_access', :client_options => {:ssl => {:ca_file => '/usr/lib/ssl/certs/ca-certificates.crt'}}}
James
  • 5,273
  • 10
  • 51
  • 76
  • not enough info to go on... – Taryn East Jul 29 '14 at 01:04
  • @TarynEast What else would you like to see? – James Jul 29 '14 at 01:18
  • anything you've got. Where are you using facebook auth? what are the steps to reliably reproduce the error? what kind of users does this happen for (and not)? What research have you done on this topic and why were the results unsatisfactory... what code is relevant? what do you get in your logfiles? etc etc – Taryn East Jul 29 '14 at 02:05

0 Answers0