spot icon indicating copy to clipboard operation
spot copied to clipboard

Incorrect login credentials

Open vhespanha opened this issue 1 year ago • 24 comments

Describe the bug I cant authenticate to my Spotify account using the Spot client, no matter the account or how many times i reset the password, i get the "Incorrect login credentials". Same credentials work on other devices/clients.

To Reproduce Steps to reproduce the behavior:

  1. Install Spot (Flatpak)
  2. Type credentials
  3. Click "Log in"

Expected behavior Sign into my account

Screenshots image

General information:

  • Distribution: Arch Linux
  • Installation method [e. g. built from source, installed from Flathub...]: Flathub
  • Version [e.g. 0.1.0]: 0.4.1
  • Device used [e. g. desktop, phone...]: desktop

Additional context I found another guy on the Gnome Software review section saying he had the same problem, I installed Spot on this same machine back in June and used it normally, after reinstalling the system, i get this error.

vhespanha avatar Jul 29 '24 16:07 vhespanha

Issue persists also when built from source.

vhespanha avatar Jul 29 '24 16:07 vhespanha

Facing this issue as well on Arch (AUR installation). I'm using a Family account, wonder if it may be related to that?

joaocandre avatar Jul 29 '24 23:07 joaocandre

I'm using a personal account and can't login either. Wonder if spotify did something here? Using nixos stable version

JJ-Atkinson avatar Jul 29 '24 23:07 JJ-Atkinson

I'm on family too, but seems like it's unrelated. The other guy with the same problem commented it back in may, i successfully logged in back in june, so i also don't think this stems from a change on Spotify's API either.

vhespanha avatar Jul 30 '24 04:07 vhespanha

same issue here (personnal account) I'm on Nobara 40 and using the flatpak version spot_login_issue

Psikyd avatar Jul 30 '24 08:07 Psikyd

I am also experiencing the same issue on NixOS using the nixpkgs version.

mobergmann avatar Jul 30 '24 09:07 mobergmann

Fedora 40, Flatpak, Student Subscription. Same problem

Dvaderfun avatar Jul 30 '24 12:07 Dvaderfun

Definitely not a subscription issue. I'll review the Spotify API documentation to check for any recent changes.

Also, for me, the error appears almost instantly. It doesn't seem like the server is even processing the credentials. This might indicate that the client is poorly handling the response from a possibly malformed request.

vhespanha avatar Jul 30 '24 15:07 vhespanha

https://github.com/librespot-org/librespot/issues/1308

Looks like it's not spots fault.

JJ-Atkinson avatar Jul 31 '24 07:07 JJ-Atkinson

Yes it has been resolved today for me !

Psikyd avatar Jul 31 '24 07:07 Psikyd

I can also login again

mobergmann avatar Jul 31 '24 07:07 mobergmann

Perusing the librespot issue, it appears that spot would need to be retrofitted with an oauth flow. Might be worth an issue for any repo owners.

JJ-Atkinson avatar Aug 01 '24 05:08 JJ-Atkinson

This also affects me at the moment. Might be worth mentioning that I am using the flatpak build of Spot since there's no native package for Fedora

This issue is worth re-opening in my opinion since the issue is still present for a number of people (including me)

SpamixOfficial avatar Aug 21 '24 05:08 SpamixOfficial

@SpamixOfficial, re-opened it. I never got to investigate it, but, since it's still affecting people I'll take a look and see if I can find something useful.

vhespanha avatar Aug 21 '24 12:08 vhespanha

@SpamixOfficial, re-opened it.

I never got to investigate it, but, since it's still affecting people I'll take a look and see if I can find something useful.

I'll also take a look once I get home. Thanks for reopening!

SpamixOfficial avatar Aug 21 '24 13:08 SpamixOfficial

I was actually working on OAuth for my Spotify client in Rust before I found this app and gave up on it.
In fact, OAuth for the API was the only thing I finished implementing. I just made it public and would appreciate attribution if you found it helpful.

G-M0N3Y-2503 avatar Aug 24 '24 05:08 G-M0N3Y-2503

Same issue. Can't log in :(

Arche151 avatar Aug 27 '24 17:08 Arche151

won't let me in either Arch Linux, latest version on Flathub premium personal plan

catto24 avatar Sep 27 '24 11:09 catto24

Hey guys, I don't think I can find a way to fix this at all, since I'm having the same issue on Spotifyd, this is probably an issue with the Spotify API itself, there could be a workaround but I haven't been able to get it to work.

I'll be closing it since it's not anything that the Spot app itself should fix, if there's any solution, it would have to be merged to Librespot and Spotifyd.

vhespanha avatar Oct 09 '24 13:10 vhespanha

Okay @vhespanha Thanks for looking into this!

Have an amazing week :-)

SpamixOfficial avatar Oct 09 '24 13:10 SpamixOfficial

The librespot dev branch already has a fix for this, by implementing OAuth, unfortunately, Spot already uses the latest librespot release, which came out two years ago, and i dont really think it would be a good idea to use the dev branch of a dependency in a release of the app, but theoretically one could build Spot using librespot's dev branch themselfs and it should work, I might try this later.

vhespanha avatar Oct 09 '24 14:10 vhespanha

Around when do you expect this issue to get resolved? Can you provide some estimated time so that I can check again at that time?

adityamwagh avatar Oct 13 '24 06:10 adityamwagh

The librespot dev branch already has a fix for this, by implementing OAuth, unfortunately, Spot already uses the latest librespot release, which came out two years ago, and i dont really think it would be a good idea to use the dev branch of a dependency in a release of the app, but theoretically one could build Spot using librespot's dev branch themselfs and it should work, I might try this later.

maybe a dev version of spot (e.g. spot-dev)?

catto24 avatar Oct 19 '24 02:10 catto24

The librespot dev branch already has a fix for this, by implementing OAuth, unfortunately, Spot already uses the latest librespot release, which came out two years ago, and i dont really think it would be a good idea to use the dev branch of a dependency in a release of the app, but theoretically one could build Spot using librespot's dev branch themselfs and it should work, I might try this later.

maybe a dev version of spot (e.g. spot-dev)?

Yeah but that could also introduce a ton of instability since it's a dev branch if librespot

SpamixOfficial avatar Oct 23 '24 12:10 SpamixOfficial

The librespot dev branch already has a fix for this, by implementing OAuth, unfortunately, Spot already uses the latest librespot release, which came out two years ago, and i dont really think it would be a good idea to use the dev branch of a dependency in a release of the app, but theoretically one could build Spot using librespot's dev branch themselfs and it should work, I might try this later.

maybe a dev version of spot (e.g. spot-dev)?

Yeah but that could also introduce a ton of instability since it's a dev branch if librespot

dev versions are almost expected to be instable, it'll be fine right?

catto24 avatar Oct 25 '24 00:10 catto24

The librespot dev branch already has a fix for this, by implementing OAuth, unfortunately, Spot already uses the latest librespot release, which came out two years ago, and i dont really think it would be a good idea to use the dev branch of a dependency in a release of the app, but theoretically one could build Spot using librespot's dev branch themselfs and it should work, I might try this later.

maybe a dev version of spot (e.g. spot-dev)?

Yeah but that could also introduce a ton of instability since it's a dev branch if librespot

dev versions are almost expected to be instable, it'll be fine right?

Yes they are expected to be unstable but the case might be that a ton of functions spot uses has been deprecated, removed or how it is used has changed completely. Just speculating right now but there might be more reasons they haven't upgraded than the fact that it's unstable :(

SpamixOfficial avatar Oct 25 '24 09:10 SpamixOfficial

Awesome, thanks a lot @stevenleadbeater, life-saver.

vhespanha avatar Nov 20 '24 00:11 vhespanha