Sha256: 0fcd14f82093f6265860ee70a21741b5c5b0d36480876210505a2a2c51347aea
Contents?: true
Size: 671 Bytes
Versions: 1
Compression:
Stored size: 671 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.fetch('CORE_OAUTH_CLIENT_ID'), ENV.fetch('CORE_OAUTH_CLIENT_SECRET'), client_options: {site: ENV.fetch('CORE_OAUTH_URL')} end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
roqua-core-api-0.0.17 | lib/roqua/omniauth/rails_initializer.rb |