We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8f3b9e3 + 85fdbe1 commit 2615267Copy full SHA for 2615267
lib/omniauth/strategies/oauth2.rb
@@ -36,10 +36,6 @@ def client
36
::OAuth2::Client.new(options.client_id, options.client_secret, deep_symbolize(options.client_options))
37
end
38
39
- def callback_url
40
- full_host + script_name + callback_path
41
- end
42
-
43
credentials do
44
hash = {"token" => access_token.token}
45
hash.merge!("refresh_token" => access_token.refresh_token) if access_token.expires? && access_token.refresh_token
0 commit comments