make omniauth look at where our ca_file is
This commit is contained in:
parent
dcce2976b5
commit
912211dc0b
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue