6 lines
193 B
Ruby
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
|