1
0
Fork 0
find-us-lunch/config/initializers/omniauth.rb

15 lines
354 B
Ruby
Raw Permalink Normal View History

2014-10-02 16:22:22 -04:00
OmniAuth.config.logger = Rails.logger
Rails.application.config.middleware.use OmniAuth::Builder do
provider :google_oauth2,
Rails.application.secrets.google_client_id,
Rails.application.secrets.google_client_secret,
{
client_options: {
ssl: {
ca_file: Rails.root.join('cacert.pem').to_s
}
}
}
end