diff --git a/lib/omniauth/strategies/clever.rb b/lib/omniauth/strategies/clever.rb index 1689ef4..95ca9bf 100644 --- a/lib/omniauth/strategies/clever.rb +++ b/lib/omniauth/strategies/clever.rb @@ -60,7 +60,7 @@ def raw_info # Fix unknown redirect uri bug by NOT appending the query string to the callback url. def callback_url - full_host + script_name + callback_path + options[:redirect_uri] || (full_host + script_name + callback_path) end end end