asciinema.org/config/initializers/omniauth.rb

5 lines
236 B
Ruby
Raw Normal View History

Rails.application.config.middleware.use OmniAuth::Builder do
provider :twitter, CFG.oauth.twitter.consumer_key, CFG.oauth.twitter.consumer_secret
provider :github, CFG.oauth.github.consumer_key, CFG.oauth.github.consumer_secret
end