iOS SDK Auth always fails
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Labels:
- Labels:
-
Question
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page