guilhermesad / rspotify

A ruby wrapper for the Spotify Web API
MIT License
717 stars 290 forks source link

Continue receiving "Invalid Credentials" error #232

Open ajdubovoy opened 3 years ago

ajdubovoy commented 3 years ago

For some reason, Spotify seems to OK the login, but Rails pulls an "Invalid Credentials" error on the callback. This happens about ~70% of the time, but somewhat at random with different users. We've already tried downgrading the omniauth-oauth2 1.4.0 gem to 1.3.1 (as per #211).

We've also tried implementing: https://github.com/omniauth/omniauth-oauth2/commit/26152673224aca5c3e918bcc83075dbb0659717f#diff-1894759d724182a93ca97be91b43a7bc. But it didn't change anything sadly :(

Would hugely appreciate any help!