diff --git a/lib/omniauth-spotify.rb b/lib/omniauth-spotify.rb index 9692950..f8c18bf 100644 --- a/lib/omniauth-spotify.rb +++ b/lib/omniauth-spotify.rb @@ -50,6 +50,11 @@ def image_url def raw_info @raw_info ||= access_token.get('me').parsed end + + def callback_url + full_host + script_name + callback_path + end + end end end