make omniauth look at where our ca_file is

This commit is contained in:
Maxwell Salzberg 2012-01-20 17:21:18 -08:00
parent dcce2976b5
commit 912211dc0b

View file

@ -21,6 +21,6 @@ Rails.application.config.middleware.use OmniAuth::Builder do
end
if SERVICES['facebook'] && SERVICES['facebook']['app_id'] && SERVICES['facebook']['app_secret']
provider :facebook, SERVICES['facebook']['app_id'], SERVICES['facebook']['app_secret'], { :scope => "publish_stream,email,offline_access",
:client_options => {:ssl => {:ca_file => AppConfig[:ca_file]}}}
:client_options => {:ssl => {:ca_file => EnviromentConfiguration.ca_cert_file_location}}}
end
end