1
0
Fork 0
dokkan-data-rails/config/initializers/omniauth.rb

7 lines
193 B
Ruby
Raw Normal View History

2015-09-29 21:21:05 -04:00
Rails.application.config.middleware.use OmniAuth::Builder do
provider :reddit,
ENV['REDDIT_CLIENT_ID'],
ENV['REDDIT_CLIENT_SECRET'],
scope: 'identity'
end