Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

[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

Staff
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…

Staff
ModeratorStaff / Moderator/ 3 years ago  in Social & Random

Type a product name