day 5

Oauth connected

I was able to authenticate with Spotify today. Turned out I had to use an older version of the omniauth-oauth2 gem. So now you can click on the Sign in with Spotify button and you’re sent to Spotify to give permission to access your account. Once you’ve done so, you’re directed back to the site with some user information provided by Spotify.

Now I just need to decide how to store the user information and log the user in. I‘ll probably use Devise so I can get past this step and into the more interesting parts of the application. I can alway come back and rework the internals later if there’s a good reason to.