spotube icon indicating copy to clipboard operation
spotube copied to clipboard

Spotify Account connection

Open mattish91 opened this issue 1 year ago • 8 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current Behavior

In the tutorial it says sp_key as the second value, but in my case this value was "__secure-TPASESSION" and not "sp_key" like tutorial said.

Expected Behavior

  1. expected "sp_key" to be located in my cookie session.
  2. Or that the tutorial would suggest "__Secure-TPASESSION" as a alternative.

Steps to reproduce

  1. I opened the app
  2. went trough the Spotify connect tutorial
  3. Saw that i needed "sp_dc" and "sp_key".
  4. Realized that "sp_key" must have been renamed by Spotify to "__Secure-TPASESSION" (Or this could be becaus i use Google SSO).
  5. Pressed "Connect" And it all worked out just fine.

Operating System

Windows

Spotube version

v3.1.2

Installation source

Website (spotube.netlify.app) or (spotube.krtirtho.dev)

Additional information

"sp_key" or "__Secure-TPASESSION" in tutorial as this obviously was the case here. See attached picture (Sensitive data hidden).

image

mattish91 avatar Sep 21 '23 17:09 mattish91

Interesting

KRTirtho avatar Sep 21 '23 17:09 KRTirtho

Interestingly enough for both my kids it was something else, for one it was sp_key and for the other kid it was sp_gaid, so i suppose this is the third option of them 🤔

mattish91 avatar Sep 21 '23 18:09 mattish91

Yeah, thanks for the suggestion. Does the account with Google SSO work in mobile as well?

KRTirtho avatar Sep 21 '23 18:09 KRTirtho

Actually yes

mattish91 avatar Sep 21 '23 18:09 mattish91

Today the account had been logged out from my browser session and i had to log out and in again in order to get the connection working, but now i did have both sp_dc and sp_key, just tought i'd let you know with some kind of update in this thread. :) Still working fine with Google SSO tho :)

mattish91 avatar Oct 08 '23 18:10 mattish91

Hello, I have installed the Windows version of Spotube v3.4.0 but when I try to log in with my Spotify account by pasting the values of sp_dc and sp_key and try to log in I am getting this error:

HandshakeException: Handshake error in client (OS Error: 
	CERTIFICATE_VERIFY_FAILED: unable to get local issuer certificate(../../third_party/boringssl/src/ssl/handshake.cc:393))

AleJavierHY avatar Jan 01 '24 03:01 AleJavierHY

@AleJavierHY Follow #905

Also update your Windows. It's generally outdated certificates.

KRTirtho avatar Jan 03 '24 07:01 KRTirtho

@mattish91 so I discovered that sp_key or sp_gaid is not even necessary so if you even put "lmao" for sp_key field, it'll work. The sp_dc is the only required one. And it must not be shared with anyone as it's top secret.

I've removed the sp_key field in the Nightly version and there should be no more confusion in the upcoming versions.

KRTirtho avatar Jan 27 '24 15:01 KRTirtho

@mattish91 so I discovered that sp_key or sp_gaid is not even necessary so if you even put "lmao" for sp_key field, it'll work. The sp_dc is the only required one. And it must not be shared with anyone as it's top secret.

I've removed the sp_key field in the Nightly version and there should be no more confusion in the upcoming versions.

Alright, thats pretty cool. Then i know why it worked then 😅

mattish91 avatar Jan 29 '24 19:01 mattish91