vscode-spotify icon indicating copy to clipboard operation
vscode-spotify copied to clipboard

Authentication fails on 3.0.0

Open acid-chicken opened this issue 6 years ago • 8 comments

Steps to reproduce

  1. Push Spotify Sign In button.
  2. Firefox opens https://vscode-spotify-auth.azurewebsites.net/?message=You%20can%20now%20close%20this%20tab.
  3. vscode-spotify says Failed to retrieve access token : "state_mismatch"

image

https://github.com/ShyykoSerhiy/vscode-spotify/blob/e753c11bb0261d84a1455f1984744f7d39e6e37d/src/actions/actions.ts#L234

Environments

vscode-spotify version
3.0.0
vscode version
1.27.2
os
Linux 4.18.5-arch1-1-ARCH #1 SMP PREEMPT Fri Aug 24 12:48:58 UTC 2018 x86_64 GNU/Linux

acid-chicken avatar Oct 06 '18 12:10 acid-chicken

@acid-chicken Maybe try to remove access for vscode-spotify and try the whole process again. You can remove access here: https://www.spotify.com/de/account/apps/

levrik avatar Oct 06 '18 14:10 levrik

@levrik Hmm, I tried them but the authentication still fails.

acid-chicken avatar Oct 06 '18 15:10 acid-chicken

Hi @acid-chicken , do you have cookies enabled in firefox?

ShyykoSerhiy avatar Oct 06 '18 15:10 ShyykoSerhiy

You can get this error if cookies are disabled.

ShyykoSerhiy avatar Oct 06 '18 16:10 ShyykoSerhiy

Theoretically clearing cookies might help too.

ShyykoSerhiy avatar Oct 06 '18 16:10 ShyykoSerhiy

@ShyykoSerhiy Yes, the cookie is enabled in my Firefox, and I retried after cleaning cookies, but it still fails.

acid-chicken avatar Oct 06 '18 16:10 acid-chicken

Same here. Opened with Firefox and getting the same error.

Funeoz avatar Jan 06 '19 15:01 Funeoz

Found something that can help. I disabled and enabled the extension. Then I started Spotify app and launched a music. After that, I can play/stop music, play previous/next track ... But the Spotify tab in vscode doesn't show anything because the error is still here.

Funeoz avatar Jan 06 '19 15:01 Funeoz