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 SDK Auth always fails

iOS SDK Auth always fails

Plan

Family Premium

Country

Russia & Italy

Device
iPhone 8

Operating System

iOS 15.6.1

 

My Question or Issue

Hi guys. I develop the iOS app which use Spotify Auth. I use iOS SDK. I read Spotify guide, I read various articles, I watched videos on YouTube, I even launched other people’s projects - authorization fails everywhere. Spotify opens, shows "X" and then in the logs I see "An unknown error has occurred"
I tried logging in like this:

appRemote.authorizeAndPlayURI("")
// I also tried this
sessionManager.initiateSession(with: scopes, options: .clientOnly)

but the result is the same everywhere
my info.plist is correct and Spotify Dashboard App is configured correctly (bundle ID and Redirect URI are correct) 

info.plist

<key>LSApplicationQueriesSchemes</key>
<array>
    <string>spotify</string>
</array>
<key>CFBundleURLTypes</key>
<array>
    <dict>
        <key>CFBundleURLName</key>
        <string>com.blaBlaBla.blaBlaBla</string>
        <key>CFBundleURLSchemes</key>
        <array>
            <string>blaBlaBla</string>
        </array>
    </dict>
</array>

I also added my Spotify account to users list for auth in development mode. But still no results
What i do wrong?

Reply
0 Replies

Suggested posts