最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

objective c - I cannot access the access token in SessionManager on Spotift IOS SDK - Stack Overflow

matteradmin3PV0评论

Even though everything is perfect and set up correctly, the accessToken is not returning.

  • I'm running my project in xCode on WmWare

  • I'm testing it on a real device, I'm connected to the PC via cable.

  • I am switching my application to Spotify, and after approval for the authorize process, it returns to the application, but the accessToken returns nil every time.

  • I am sure that my code verifier code challenge client id, client secret and redirect uri data are correct.

return Warning :

 Failed to initiate session: invalid_grant
Error domain: com.spotify.sdk.login
 Error code: 1
User Info: {
    NSLocalizedDescription = "invalid_grant";
}

Please Help Me

Post a comment

comment list (0)

  1. No comments so far