Sha256: 091529b5bbadaf51e22ea1d3807d12390150b351c9b82c7a8a717fb5c01728ee
Contents?: true
Size: 578 Bytes
Versions: 4
Compression:
Stored size: 578 Bytes
Contents
Warden::GitHub::Rails.setup do |config| config.add_scope :user, :client_id => ENV['GITHUB_CLIENT_ID'] || 'foo', :client_secret => ENV['GITHUB_CLIENT_SECRET'] || 'bar', :scope => 'user' config.add_scope :admin, :client_id => ENV['GITHUB_CLIENT_ID'] || 'abc', :client_secret => ENV['GITHUB_CLIENT_SECRET'] || 'xyz', :redirect_uri => '/admin/login/callback', :scope => 'repo' config.add_team :marketing, 456 end
Version data entries
4 entries across 4 versions & 2 rubygems