cjam / cjam/react-native-spotify-remote

Auth is calling Swap with no code on ios

Open
#153 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
Objective-C
Stars
283
Forks
110
PR merge metrics
No merged PRs in 30d

Description

Hi @cjam !

First of all, just want to say thank you for this amazing library! It is going to help us a lot!

Now for the problem: after some adjustments, I was able to get the app to redirect to the Spotify app, there you can see the 'authenticating' loading animation and after a second a tick with 'success'. The problem occurs when we redirect back to our app- after debugging, we discovered that the swap function in the server, does not get any code from your Auth function, and because of that we are not getting an access token+refresh token so we cannot proceed into the actual player component in our app.
To be more specific, the way to replicate the error is by opening the app-> press the 'Authenticate silently' button (-> redirect to Spotify app that authenticates the connection)->redirecting back to the 'home page' of our app but with error
'SPTAuthorizationDailedErrorCode: invalid_request'.

We would really appreciate the help @cjam!! Thank you!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.