I made a music player (Blade-Player) for Android, that can play music from local library, Spotify, and Deezer ; in 2018. I used the old Android Playback SDK from Spotify to achieve media playback. As the code grew old, and Android/Spotify/… evolved, i could not maintain it the way i wanted, and it is now a collection of hacks and
Tag: spotify
Spotify PKCE. Error invalid client secret
I need to complete Authorization Code Flow with Proof Key for Code Exchange. In step 4, I get an error 400 – bad request {“error”:”invalid_request”,”error_description”:”Invalid client secret”}. Why need to client secret if it is PKCE. What do I wrong? Do you have any idea? Body request like code=abc&grant_type=authorization_code&redirect_uri=spotify-sdk%3A%2F%2Fauth&client_id=abc&code_verifier=abc Example code verifier: xeJ7Sx1lyUr0A_DAomzewuGn8vNS2cd3ZF2odDlqHEqeYKpxjnYYhpHxOohoo7lf22VNImGiOy_PE07owmDn2VmTWvdKKQ Example code challenge: N_yPRc_VC8JQJz5dYOuvvM-9cJLdAtEjJ9-lh8Xk_qI And the same