Announcements

Help Wizard

Step 1

NEXT STEP

[iOS] How to get authorisation code to generate access_token and refresh_token at backend web api?.

[iOS] How to get authorisation code to generate access_token and refresh_token at backend web api?.

Hi,

 

We are having some trouble implementing the IOS Spotify SDK. We use it in the context of user authorisation in order to get the `code`. We pass the `code` to our api (where it is transformed). Our api (nodejs) calls a spotify token endpoint and we keep getting an error `code_verifier was incorrect`. We tried regenerating it and we still get the same error. The `redirectUri` is correctly registered and we use it with both api and mobile. On Android it works correctly (with and without `code_verifier`).

 

If anyone can help, please let us know. Thanks

 

Plan
Premium

Country

India

Device

(iPhone/iPad)

Operating System

(iOS)

 

My Question or Issue

 

Reply
0 Replies

Suggested posts

Let's introduce ourselves!

Hey there you,   Yeah, you! 😁   Welcome - we're glad you joined the Spotify Community!   While you here, let's have a fun game and get…

ModeratorStaff / Moderator/ 4 years ago  in Social & Random