lib/warden-github/strategy.rb in warden-github-0.3.1 vs lib/warden-github/strategy.rb in warden-github-0.4.0
- old
+ new
@@ -41,9 +41,10 @@
def oauth_proxy
@oauth_proxy ||= Warden::Github::Oauth::Proxy.new(env['warden'].config[:github_client_id],
env['warden'].config[:github_secret],
env['warden'].config[:github_scopes],
+ env['warden'].config[:github_oauth_domain],
callback_url)
end
def callback_url
absolute_url(request, env['warden'].config[:github_callback_url])