Skip to content

Getting started #2

@orange-artworks

Description

@orange-artworks

Hi
Thanks for sharing your Spotify-iOS code. I wonder if you would be able to help me getting started? I'm on a steep learning curve as this is my first iOS App development.

The problem
After sign-in using an email address based Spotify account the option to agree to allow the app access to my Spotify account is shown but can never be cleared. Pressing the green "agree" button does nothing visibly (it remains even if pressed several times) but it does register the app in my spotify account. Pressing the top left "< Spotify" link to go back from the login to the app works but just presents the app startup screen with "Sign in with Spotify" again. Pressing cancel does nothing.

More Details

  • I have set the clientID, clientSecret, redirectURI and URL scheme to match my Spotify developer settings.
  • The app builds and runs on my iphone. (iOS 15.5)
  • The redirect URI is of the form io.xxxxx.zzz://callback/ I think the redirectURI is now correctly configured because until I set it correctly I received "INVALID_CLIENT Invalid redirect URI" when trying to login.
  • xcode version: 13.4.1
  • I have not created an oauth server - do I need one?

Hopefully there is a simple way forward.
Many thanks
Julian O

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions