[GH-ISSUE #547] Failure to authenticate after fresh Arch install #1253

Closed
opened 2026-03-14 14:07:31 +03:00 by kerem · 2 comments
Owner

Originally created by @vannotz on GitHub (Aug 16, 2024).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/547

Did a fresh install of Arch (switch from Artix) and I can't seem to login to my spotify account with spotify-player (nor with ncspot), it gives "Failed to authenticate, 2 tries left", and I know for a fact that the credentials are right since I can login from my browser. One thing to note is that, when logging in from the Browser, spotify asks to verify the login with a set of numbers sent to my email, maybe since that these spotify terminal players don't support that feature it simply fails.
I am using the base AUR package with no extra features built in.

Seems to be related to this Family Plan problem as reported in ncspot's github, https://github.com/hrkfdn/ncspot/issues/1500

Originally created by @vannotz on GitHub (Aug 16, 2024). Original GitHub issue: https://github.com/aome510/spotify-player/issues/547 Did a fresh install of Arch (switch from Artix) and I can't seem to login to my spotify account with spotify-player (nor with ncspot), it gives "Failed to authenticate, 2 tries left", and I know for a fact that the credentials are right since I can login from my browser. One thing to note is that, when logging in from the Browser, spotify asks to verify the login with a set of numbers sent to my email, maybe since that these spotify terminal players don't support that feature it simply fails. I am using the base AUR package with no extra features built in. Seems to be related to this Family Plan problem as reported in ncspot's github, https://github.com/hrkfdn/ncspot/issues/1500
kerem 2026-03-14 14:07:31 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@vannotz commented on GitHub (Aug 18, 2024):

Use librespot-auth repository to create credentials.json file (make sure you installed official Spotify client. I didn't test with web player and mobile app, but test it if you like) and copy it to ~/.cache/spotify-player

How would this work? I'm not sure what commands to run with librespot-auth

<!-- gh-comment-id:2295126515 --> @vannotz commented on GitHub (Aug 18, 2024): > Use [librespot-auth repository](https://github.com/dspearson/librespot-auth) to create credentials.json file (make sure you installed official Spotify client. I didn't test with web player and mobile app, but test it if you like) and copy it to ~/.cache/spotify-player How would this work? I'm not sure what commands to run with librespot-auth
Author
Owner

@vannotz commented on GitHub (Aug 18, 2024):

Worked flawlessly for me, thank you, I think I'll close this issue so that the main discussion is focused in the other issue.

<!-- gh-comment-id:2295377161 --> @vannotz commented on GitHub (Aug 18, 2024): Worked flawlessly for me, thank you, I think I'll close this issue so that the main discussion is focused in the other issue.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-player#1253
No description provided.