lib/warden-github/strategy.rb in warden-github-0.0.5 vs lib/warden-github/strategy.rb in warden-github-0.0.6
- old
+ new
@@ -34,9 +34,10 @@
end
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],
callback_url)
end
def callback_url
absolute_url(request, env['warden'].config[:github_callback_url])