Does libspotify support oauth support

I just downloaded libspotify and looked at examples and found out more about it. I want to know if the current version of libspotify oauth support? I tried the search but did not find anything, so I ask here if I don't have an important link. My client says that instead of the username and password for logging in to determine, they will give me the oauth token (taken from facebook, I think), and through this I should be able to log in. Please guide, thanks.

+6
source share
1 answer

Unfortunately, your client is mistaken.

libspotify registers with Spotify using either the Spotify credentials or Facebook username / password and nothing else. You cannot login to Spotify with the Facebook OAuth token.

It is worth noting here - never save this data yourself - libspotify can remember it for you in its secure repository.

+5
source

Source: https://habr.com/ru/post/909801/


All Articles