Skip to content

Commit

Permalink
remove query string from redirect_uri on callback
Browse files Browse the repository at this point in the history
  • Loading branch information
mamantoha committed Nov 5, 2015
1 parent 5222a3e commit 7c400fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/omniauth/strategies/vkontakte.rb
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def authorize_params
private

def callback_url
options.redirect_url || super
options.redirect_url || (full_host + script_name + callback_path)
end

def info_options
Expand Down

0 comments on commit 7c400fc

Please sign in to comment.