Skip to content

Commit 85fdbe1

Browse files
committed
Don't override callback_url Attempt to correct #28
Overridden method discarded the query_string
1 parent 8ece4bb commit 85fdbe1

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
@@ -33,10 +33,6 @@ def client
3333
::OAuth2::Client.new(options.client_id, options.client_secret, deep_symbolize(options.client_options))
3434
end
3535

36-
def callback_url
37-
full_host + script_name + callback_path
38-
end
39-
4036
credentials do
4137
hash = {'token' => access_token.token}
4238
hash.merge!('refresh_token' => access_token.refresh_token) if access_token.expires? && access_token.refresh_token

0 commit comments

Comments
 (0)