asciinema.org/config/initializers/omniauth.rb

5 lines
354 B
Ruby
Raw Normal View History

Rails.application.config.middleware.use OmniAuth::Builder do
2012-06-09 14:11:29 +00:00
provider :twitter, CFG['TWITTER_CONSUMER_KEY'], CFG['TWITTER_CONSUMER_SECRET'], :client_options => { :ssl => { :ca_path => "/etc/ssl/certs" } }
provider :github, CFG['GITHUB_CONSUMER_KEY'], CFG['GITHUB_CONSUMER_SECRET'], :client_options => { :ssl => { :ca_path => "/etc/ssl/certs" } }
end