spotify/SpotifyLogin

error returned in URL for AppDelegate callback

Opened this issue · 0 comments

If you are filing a bug report, please include information for the topics below. Also, please make sure to only report one bug/feature request/question per issue.

Description

A concise description of what the problem is.

Versions

iOS SDK version
Spotify app version (if native SSO flow is involved)

Severity

Trivial, Minor, Major, Catastrophic

Steps to Reproduce

  1. Step by step instructions on how to reproduce this bug.
  2. The more detailed your list of instructions, the easier it is for the developer to track down the problem!

Actual behaviour

Describe what happens when you perform the steps above.

Expected behaviour

Describe what you expected to happen when performing the steps above.

Logs

Please include any relevant log output that might assist in tracking down the problem.

when running the Sample test, for the following AppDelegate callback:

    func application(_ app: UIApplication,
                     open url: URL,
                     options: [UIApplicationOpenURLOptionsKey: Any] = [:]) -> Bool {
        let handled = SpotifyLogin.shared.applicationOpenURL(url) { _ in }
        return handled
    }

I receive the following for the url content:

loginsample://?error=invalid_app_identifier&error_description=The%20app%20identifier%20is%20not%20valid%20with%20the%20client%20ID%20provided

This appears to be flagging an error regarding incorrect app id, though I have checked and rechecked and this is the ID as specified on the developer portal.

Is this an issue? The Sample app ignores the contents returned in the url

thanks.

I am using the most recent Xcode Version 10.1 (10B61)