diff --git a/lib/omniauth/strategies/facebook.rb b/lib/omniauth/strategies/facebook.rb index 414173b..5ff09ee 100644 --- a/lib/omniauth/strategies/facebook.rb +++ b/lib/omniauth/strategies/facebook.rb @@ -83,7 +83,7 @@ module OmniAuth if @authorization_code_from_signed_request_in_cookie '' else - options[:callback_url] || super + options[:callback_url] || (full_host + script_name + callback_path) end end