spotify-connect-web icon indicating copy to clipboard operation
spotify-connect-web copied to clipboard

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

Open EyMaddis opened this issue 9 years ago • 1 comments

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.

EyMaddis avatar May 29 '16 23:05 EyMaddis

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

oschwede avatar Jun 29 '16 19:06 oschwede