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

6 lines
193 B
Ruby

Rails.application.config.middleware.use OmniAuth::Builder do
provider :reddit,
ENV['REDDIT_CLIENT_ID'],
ENV['REDDIT_CLIENT_SECRET'],
scope: 'identity'
end