Closed snags88 closed 9 years ago
This might be because of this:
https://github.com/icoretech/omniauth-spotify/blob/master/lib/omniauth-spotify.rb#L54-L57
You can try and use this fork https://github.com/jrichardlai/omniauth-spotify or monkeypatch it by:
module OmniAuth
module Strategies
class Spotify < OmniAuth::Strategies::OAuth2
remove_method :callback_url
end
end
end
I released 0.0.8 reverting the change introduced in https://github.com/icoretech/omniauth-spotify/pull/5
Thanks for the suggestions and let me know if this issue can be closed.
@masterkain You mean 0.0.6, right? That's the latest version.
The presence of the callback_url method breaks the auth process for me.
sorry, it's 0.0.8 but I just pushed to rubygems.
cheers
@masterkain :+1: works for me.
@masterkain works for me. Thanks for the quick turn around!
There seems to be an issue with the callback_url in the authentication process. I set up the callback URI on the Spotify Application to be
http://localhost:3000/auth/spotify/callback
and i've set up my routes to beget '/auth/:provider/callback', to: 'sessions#create'
When I go through the authentication process, it give me the following error:
Here is a snippet from the server log:
When I switched over to the rspotify gem, I got through to my
sessions#create
action. Any idea what's going on?