diff --git a/lib/omniauth/strategies/twitch.rb b/lib/omniauth/strategies/twitch.rb index 510334f..2888e6c 100644 --- a/lib/omniauth/strategies/twitch.rb +++ b/lib/omniauth/strategies/twitch.rb @@ -53,6 +53,10 @@ def access_token_options options.access_token_options.inject({}) { |h,(k,v)| h[k.to_sym] = v; h } end + def callback_url + full_host + script_name + callback_path + end + def authorize_params super.tap do |params| options[:authorize_options].each do |k|