Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authentication failure #3

Closed
briankung opened this issue Jan 2, 2021 · 17 comments
Closed

Authentication failure #3

briankung opened this issue Jan 2, 2021 · 17 comments

Comments

@briankung
Copy link

briankung commented Jan 2, 2021

I'm getting this error with credentials that I tested to work correctly in-browser:

[2021-01-02T13:51:33Z ERROR psst_gui::delegate] connection error: AuthFailed { code: 11 }

Sorry, don't know where to look for logs, otherwise I'd provide them!

~

EDIT - this is after building e62719d from source

@jpochyla
Copy link
Owner

jpochyla commented Jan 2, 2021

I'm getting this error with credentials that I tested to work correctly in-browser:

Sorry, but are they really the Device Credentials from the Account Settings?

@briankung
Copy link
Author

Hmm, I don't have a "Device Credentials" section anywhere in my Account Settings.

@briankung
Copy link
Author

I have an "Approved applications" section, but it doesn't list a way to generate a new key.

@jpochyla
Copy link
Owner

jpochyla commented Jan 2, 2021

It looks like this on my profile:

Screenshot 2021-01-02 at 15 16 02

@briankung
Copy link
Author

Looks like this on mine:

image

@jpochyla
Copy link
Owner

jpochyla commented Jan 2, 2021

Thanks! Do you have a Premium (paid) plan?

@briankung
Copy link
Author

briankung commented Jan 2, 2021 via email

@jpochyla
Copy link
Owner

jpochyla commented Jan 2, 2021

Oh then that's it, sorry. Unfortunately it's not possible to use the Spotify API without the paid plan :(

@jpochyla jpochyla closed this as completed Jan 2, 2021
@MehediH
Copy link

MehediH commented Jan 7, 2021

@jpochyla Hey! I have Spotify Premium but don't see the Device Password option
image

@jpochyla
Copy link
Owner

jpochyla commented Jan 7, 2021

Oh, thanks for letting me know. Mind trying it with your regular credentials, please?

@MehediH
Copy link

MehediH commented Jan 8, 2021

I have tried with regular credentials because I wasn't aware of the concept of a "device password". Doesn't work.

@jpochyla
Copy link
Owner

Sorry, I messed it up a little. Device password is only shown in case of Facebook login, otherwise the credentials should be the username from "Account overview" and your regular password. These don't work?

@MehediH
Copy link

MehediH commented Jan 22, 2021

Nope :( I also don't get any errors, not sure if that's implemented in the UI..

@jpochyla
Copy link
Owner

jpochyla commented Jan 22, 2021

Auth errors are missing from the UI unfortunately, but should be visible in the terminal. If you're on Linux, would you mind trying if ncspot works?

@MehediH
Copy link

MehediH commented Jan 22, 2021

Sorry, I am on Windows :(

@Kesefon
Copy link
Contributor

Kesefon commented Jan 22, 2021

The Save button seems to be missing on Windows.
psst3

A workaround is to manually create the config file at
C:\Users\<username>\AppData\Roaming\Psst\config.json
with this content:
{ "username": "Kesefon", "password": "password123" }

@MehediH
Copy link

MehediH commented Jan 22, 2021

@Kesefon Yep! That does work for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants