Fornoth / spotify-connect-web

MIT License
435 stars 64 forks source link

credentials.json only works temporary, cannot login with old json existing #54

Open EyMaddis opened 8 years ago

EyMaddis commented 8 years ago

Hi, first of thanks for the great software!

I set it up such that I don't have my credentials as command line arguments (as every user on my raspberry pi could easily read my credentials using service spotify-connect status or htop). Instead I started it without any and logged in via the web GUI, which worked fine the first time. But after some time (and restarts) I noticed that I am no longer logged in and trying to do so would fails without any feedback. The GUI was just stuck at loading the checking the login status. Only after I removed the credentials.json from inside the chroot, I could log in again. I compared the old an new json and noticed that the blob changed. I guess that the credentials were somehow invalidated and that Spotify connect would ignore my new login whenever there was already a credentials.json existent.

oschwede commented 8 years ago

Is your username within credentials.json still correct? I had an issue where login failed after restarting spotify-connect-web. It turned out that the first character of my username was missing in credentials.json und therefore login failed.

But I'm not sure if this happened with Fornoth's version or the one from chukysoria