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

Cannot authenticate with iOS SDK

Solved!

Cannot authenticate with iOS SDK

I am using the Spotify iOS SDK and the Spotify app on my iPhone. iOS 15, Xcode 13.2, iPhone 13 Pro.

 

when calling

 

sessionManager.initiateSession(with: scope, options: .clientOnly)

 

I get redirected to the Spotify app where my authorization fails (I see a cross appearing), Spotify redirects back to my own app and the result url looks like this:

 

...://spotify-login-callback?error=unknown_error&error_description=An%20unknown%20error%20has%20occured&spotify_version=8.6.84.1353

 

 

I have no idea what this means.

I registered:

- the email address of my account

- the bundle id

- the callback url

in the app settings on the Spotify Developer website, and I have zero info on what to look for.

 

Any suggestion as to what to check?

 

Reply

Accepted Solutions
Marked as solution

It was a problem with the callback url.

View solution in original post

1 Reply
Marked as solution

It was a problem with the callback url.

Suggested posts

Type a product name