Skip to content

Commit 2615267

Browse files
committed
Merge pull request #70 from intridea/dont-override-callback-url
Don't override callback_url Attempt to correct #28
2 parents 8f3b9e3 + 85fdbe1 commit 2615267

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/omniauth/strategies/oauth2.rb

-4
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,6 @@ def client
3636
::OAuth2::Client.new(options.client_id, options.client_secret, deep_symbolize(options.client_options))
3737
end
3838

39-
def callback_url
40-
full_host + script_name + callback_path
41-
end
42-
4339
credentials do
4440
hash = {"token" => access_token.token}
4541
hash.merge!("refresh_token" => access_token.refresh_token) if access_token.expires? && access_token.refresh_token

0 commit comments

Comments
 (0)