Sha256: be7d3b4f475de9b5b08fa0ed6dd8f80984ad36d45e8c0fe64bcfcc669a42a443
Contents?: true
Size: 653 Bytes
Versions: 8
Compression:
Stored size: 653 Bytes
Contents
require 'omniauth-oauth2' require 'roqua/omniauth/strategies/doorkeeper' OmniAuth.config.logger = Rails.logger Rails.application.config.middleware.use OmniAuth::Builder do case Rails.env when 'development', 'test' provider :doorkeeper, 'b30f46f3e991d87f52f54365dda6b147d74039fd9c0336490ab41a7254702651', '49b42787e6fcf9d42878c62c77817a92251abf48923d8c269c9c088e66066fd2', client_options: {site: 'http://core.dev'} else provider :doorkeeper, ENV['CORE_OAUTH_CLIENT_ID'], ENV['CORE_OAUTH_CLIENT_SECRET'], client_options: {site: ENV['CORE_OAUTH_URL']} end end
Version data entries
8 entries across 8 versions & 1 rubygems